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-09-05 12:22:45 -04:00
create_quest page titles populate drop down on quest page 2018-09-05 12:22:45 -04:00
homepage logged in users can't see the /login and /signup pages 2018-08-12 01:59:22 -04:00
jinja2 chat messages get saved to database, all timestamps localized 2018-08-20 06:57:36 -04:00
login refactored login view to be more standard 2018-08-12 14:58:18 -04:00
logout added logout function 2018-08-10 18:57:28 -04:00
quest page titles populate drop down on quest page 2018-09-05 12:22:45 -04:00
set_session added set_session, made hide_header work properly 2018-08-10 13:06:33 -04:00
signup /signup page works and validates correctly 2018-08-12 14:52:05 -04:00
static basic support for the quest page 2018-08-13 13:17:51 -04:00
titivillus expose visitor's real ip to websocket 2018-08-30 23:33:25 -04:00
users /create_quest works, added quest models 2018-08-13 07:02:14 -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 added channel layer so websockets can talk to each other 2018-08-24 22:59:10 -04:00
real_ip.conf get the visitor's real ip address 2018-08-30 13:33:08 -04:00
todo added writeins 2018-09-05 08:41:53 -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+
Redis 4.0.10+
Python packages: django psycopg2 channels channels_redis jinja2 argon2-cffi

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
daphne -b 0.0.0.0 -p 5100 --root-path=/titivillus titivillus.asgi:application