an b3a6d3f248 | ||
---|---|---|
accounts | ||
blogs | ||
media | ||
snipts | ||
static | ||
teams | ||
templates | ||
user-admin | ||
utils | ||
.gitignore | ||
.venv | ||
Procfile | ||
README.md | ||
__init__.py | ||
app.json | ||
manage.py | ||
requirements.txt | ||
resources.sh | ||
runtime.txt | ||
settings.py | ||
settings_local.py-template | ||
urls.py | ||
views.py | ||
wsgi.py |
README.md
Snipt Glitch Edition
In Which, Somehow, A Centralized, Highly Connected Service Is Turned Into A Decentralized And Open One
Environment Variables
DISABLE_SIGNUP
if set totrue
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