Snipt: Glitch Edition
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Alison Watson 250f5ddef1 more TODO il y a 2 ans
accounts fix admin.py il y a 2 ans
blogs desecrate the corporate element il y a 2 ans
media desecrate the corporate element il y a 2 ans
snipts desecrate the corporate element il y a 2 ans
static Add static. il y a 7 ans
teams desecrate the corporate element il y a 2 ans
templates "Account" button -> "Preferences" button il y a 2 ans
user-admin Black. il y a 2 ans
utils Black. il y a 2 ans
.gitignore Some initial work on gutting es il y a 2 ans
.venv Adding venvs il y a 10 ans
Procfile Prepping for Heroku. il y a 5 ans
README.md more TODO il y a 2 ans
__init__.py Moving il y a 9 ans
app.json desecrate the corporate element il y a 2 ans
manage.py Removing some old Gunicorn stuff and refactors for Django 1.6. il y a 8 ans
requirements.txt Bump deps for security il y a 2 ans
resources.sh desecrate the corporate element il y a 2 ans
runtime.txt Peg to Python 3.7 il y a 2 ans
settings.py Revert "Snipt -> Siftie, first pass." il y a 2 ans
settings_local.py-template desecrate the corporate element il y a 2 ans
urls.py Disable search until we can get ES going again. il y a 2 ans
views.py desecrate the corporate element il y a 2 ans
wsgi.py Need settings. il y a 5 ans

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