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
2019-09-28 14:48:44 -04:00
api notitications frontend functionality added, api app added, misc. 2018-10-15 13:12:48 -04:00
homepage notitications frontend functionality added, api app added, misc. 2018-10-15 13:12:48 -04:00
jinja2 touch up front end of notification system 2018-10-16 13:09:53 -04:00
login notitications frontend functionality added, api app added, misc. 2018-10-15 13:12:48 -04:00
logout notitications frontend functionality added, api app added, misc. 2018-10-15 13:12:48 -04:00
quest made padding-left universal 2019-04-24 13:11:27 -04:00
signup minor bugfixes 2019-04-13 17:08:32 -04:00
static made padding-left universal 2019-04-24 13:11:27 -04:00
titivillus minor bugfixes 2019-04-13 17:08:32 -04:00
user added email verification to signup 2019-01-21 15:59:31 -05:00
.gitignore renamed users application to user 2018-09-05 14:22:07 -04:00
LICENSE add license 2019-09-28 14:48:44 -04:00
manage.py initial commit 2018-08-10 08:39:51 -04:00
README.md Removed need for 'Server' user 2019-04-15 11:37:02 -04:00
real_ip.conf get the visitor's real ip address 2018-08-30 13:33:08 -04:00
todo plug up some websocket security holes 2019-04-15 08:28:16 -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 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
  1. Get on the floor
  2. Walk the dinosaur
  3. Set STATIC_ROOT under settings.py appropriately
  4. Run python manage.py collectstatic --link
  5. Run python manage.py makemigrations and python 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