Titivillus was a demon said to work on behalf of Belphegor, Lucifer or Satan to introduce errors into the work of scribes.
Go to file
2018-08-10 08:39:51 -04:00
create_quest initial commit 2018-08-10 08:39:51 -04:00
homepage initial commit 2018-08-10 08:39:51 -04:00
jinja2 initial commit 2018-08-10 08:39:51 -04:00
quest initial commit 2018-08-10 08:39:51 -04:00
static initial commit 2018-08-10 08:39:51 -04:00
titivillus initial commit 2018-08-10 08:39:51 -04:00
.gitignore initial commit 2018-08-10 08:39:51 -04:00
manage.py initial commit 2018-08-10 08:39:51 -04:00
README.md initial commit 2018-08-10 08:39:51 -04:00

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+ Python packages: django psycopg2 channels jinja2

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
  1. Get on the floor
  2. Walk the dinosaur
  3. Set STATIC_ROOT under settings.py appropriately
  4. Run python manage.py collectstatic

Usage

gunicorn -b localhost:5100 -e SCRIPT_NAME=/titivillus titivillus.wsgi