tildetown-admin/serversetup.md

556 B

server setup for ttadmin

stuff to install

  • autoconf?
  • python3-dev
  • postgresql-server-dev-9.5
  • python 3.4+
  • postgresql
  • virtualenv
  • nginx

steps

  • create ttadmin user

  • ttadmin db user (or just rely on ident..?) / database created

  • add to sudoers:

    ttadmin ALL=(ALL)NOPASSWD:/usr/sbin/adduser,/usr/sbin/deluser,/usr/sbin/delgroup

  • have virtualenv with python 3.5+ ready, install tildetown-admin package into it

  • run django app as wsgi container through gunicorn as the ttadmin user with venv active

  • nginx proxy pass at /ttadmin