Titivillus was a demon said to work on behalf of Belphegor, Lucifer or Satan to introduce errors into the work of scribes.
api | ||
homepage | ||
jinja2 | ||
login | ||
logout | ||
quest | ||
signup | ||
static | ||
titivillus | ||
user | ||
.gitignore | ||
LICENSE | ||
manage.py | ||
README.md | ||
real_ip.conf | ||
todo |
Titivillus
By popular demand, I'm building a better anonkun. It doesn't do much right now though. Actual results in the decades to come.
Requirements
Python 3.6+
PostgreSQL 10.4+
Redis 4.0.10+
Python packages: django psycopg2 channels channels_redis jinja2 argon2-cffi bleach requests python-magic django-taggit django-user-messages
Install
$ psql
postgres=# CREATE DATABASE "titivillus";
postgres=# CREATE USER "titivillus" WITH PASSWORD 'password';
postgres=# ALTER ROLE "titivillus" SET client_encoding TO 'utf8';
postgres=# ALTER ROLE "titivillus" SET default_transaction_isolation TO 'read committed';
postgres=# ALTER ROLE "titivillus" SET timezone TO 'UTC';
postgres=# GRANT ALL PRIVILEGES ON DATABASE "titivillus" TO "titivillus";
postgres=# \q
$ psql titivillus
titivillus=# CREATE EXTENSION unaccent;
titivillus=# \q
- Get on the floor
- Walk the dinosaur
- Set
STATIC_ROOT
undersettings.py
appropriately - Run
python manage.py collectstatic --link
- Run
python manage.py makemigrations
andpython manage.py migrate
Usage
gunicorn -b localhost:5100 -e SCRIPT_NAME=/titivillus titivillus.wsgi
daphne -b 0.0.0.0 -p 5100 --root-path=/titivillus titivillus.asgi:application