Snipt: Glitch Edition
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Alison Watson 250f5ddef1 more TODO pirms 2 gadiem
accounts fix admin.py pirms 2 gadiem
blogs desecrate the corporate element pirms 2 gadiem
media desecrate the corporate element pirms 2 gadiem
snipts desecrate the corporate element pirms 2 gadiem
static Add static. pirms 7 gadiem
teams desecrate the corporate element pirms 2 gadiem
templates "Account" button -> "Preferences" button pirms 2 gadiem
user-admin Black. pirms 2 gadiem
utils Black. pirms 2 gadiem
.gitignore Some initial work on gutting es pirms 2 gadiem
.venv Adding venvs pirms 10 gadiem
Procfile Prepping for Heroku. pirms 5 gadiem
README.md more TODO pirms 2 gadiem
__init__.py Moving pirms 9 gadiem
app.json desecrate the corporate element pirms 2 gadiem
manage.py Removing some old Gunicorn stuff and refactors for Django 1.6. pirms 8 gadiem
requirements.txt Bump deps for security pirms 2 gadiem
resources.sh desecrate the corporate element pirms 2 gadiem
runtime.txt Peg to Python 3.7 pirms 2 gadiem
settings.py Revert "Snipt -> Siftie, first pass." pirms 2 gadiem
settings_local.py-template desecrate the corporate element pirms 2 gadiem
urls.py Disable search until we can get ES going again. pirms 2 gadiem
views.py desecrate the corporate element pirms 2 gadiem
wsgi.py Need settings. pirms 5 gadiem

README.md

Snipt Glitch Edition

In Which, Somehow, A Centralized, Highly Connected Service Is Turned Into A Decentralized And Open One

TODO

In no particular order.

  • Theming. Probably via config variables.
  • Domain name. Every instance of snipt.net should be replaced by a variable, and snipt.s3.amazonaws media should also be made into a separate variable. Don't forget the git repo and documentation too!
  • De-minify everything and add a Python-based minifier.
  • Make deploys easier by automating the database creation. Probably make a Python script which does this along with the resource and minifying stuff.
  • Turn remaining environment vars into config vars.
  • Some tiny issues with the decoupling of systems.
  • Code re-organization.
  • Locally stored avatars.
  • Add SystemD and Nginx example configs.
  • Remove “Pro” field for users

Environment Variables

  • DISABLE_SIGNUP if set to true will disable account registration.

This list is incomplete. You can help b%Yキ%&%%%b%$キ"H%&%%%Y%&%%%%%%%?%&%%%%%%

Dependencies

Make sure you have PostgreSQL installed and running beforehand. (If you don't know how to run it, you probably want the systemctl service.)

Installation

The following text should be replaced:

  • CURRENT_USER with the current user.
  • EDITOR with your editor of choice.
  • PORT with the port to run the service on. This will default to 8000.

Instructions:

  • Clone the repo.
  • cd snipt
  • python3 -m venv envs/snipt
  • bash
  • source envs/snipt/bin/activate
  • pip install -r requirements.txt (this will emit some errors, don't worry, they're fine)
  • createuser CURRENT_USER
  • createdb snipt --owner=CURRENT_USER
  • cp settings_local.py-template settings_local.py
  • EDITOR settings_local.py
  • ./resources.sh
  • python manage.py runserver 0.0.0.0:PORT

ENCODING U ;;;;;;;;;;;;;;ャヲ%娃ツャクヲ」ゥャクヲ、ャァャキ%Y。、ャクヲ」%bャカ。、“Hャクヲ、%Yャクヲ、ャァャヲ;,

] REPEAT