Snipt: Glitch Edition
 
 
 
 
 
 
Go to file
an 250f5ddef1 more TODO 2019-08-16 09:02:25 -04:00
accounts fix admin.py 2019-07-29 10:18:51 -04:00
blogs desecrate the corporate element 2019-07-29 10:13:58 -04:00
media desecrate the corporate element 2019-07-29 10:13:58 -04:00
snipts desecrate the corporate element 2019-07-29 10:13:58 -04:00
static Add static. 2014-10-20 22:29:03 -04:00
teams desecrate the corporate element 2019-07-29 10:13:58 -04:00
templates "Account" button -> "Preferences" button 2019-07-29 10:51:51 -04:00
user-admin Black. 2019-01-23 18:52:55 -05:00
utils Black. 2019-01-23 18:52:55 -05:00
.gitignore Some initial work on gutting es 2019-01-23 18:51:49 -05:00
.venv Adding venvs 2011-11-06 10:04:19 -05:00
Procfile Prepping for Heroku. 2016-11-29 23:05:00 -05:00
README.md more TODO 2019-08-16 09:02:25 -04:00
__init__.py Moving 2012-03-04 15:49:51 -05:00
app.json desecrate the corporate element 2019-07-29 10:13:58 -04:00
manage.py Removing some old Gunicorn stuff and refactors for Django 1.6. 2013-11-06 14:10:04 -05:00
requirements.txt Bump deps for security 2019-05-27 17:01:34 -04:00
resources.sh fix documentation 2019-07-29 10:36:40 -04:00
runtime.txt Peg to Python 3.7 2019-05-27 17:04:52 -04:00
settings.py Revert "Snipt -> Siftie, first pass." 2019-04-24 09:09:50 -04:00
settings_local.py-template desecrate the corporate element 2019-07-29 10:13:58 -04:00
urls.py Disable search until we can get ES going again. 2019-01-31 11:31:00 -05:00
views.py desecrate the corporate element 2019-07-29 10:13:58 -04:00
wsgi.py Need settings. 2016-11-29 23:05:00 -05:00

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