Web app for automating creation and management of CDC accounts.
Designed for Ubuntu 14.04 and Python 2.7
apt-get install nginx mysql-server memcached supervisor python-pip python-dev libmysqlclient-dev libldap2-dev libxml2-dev libsasl2-dev libssl-dev
or
dnf install nginx mariadb-server mariadb-devel memcached supervisor python-pip python-devel mariadb-libs redhat-rpm-config libxml2-devel openssl-devel openldap-devel cyrus-sasl-devel
Note: for development purposes you may omit nginx, memcached, and supervisor and just use python manage.py runserver instead
pip install -r requirements.txt
Copy signup/local_settings_prod.py to signup/local_settings.py and set a random database password and secret key
Copy signup/local_settings_dev.py to signup/local_settings.py
python manage.py syncdb
Copy signup.conf.supervisor to /etc/supervisor/conf.d/signup.conf
Reload and start:
supervisorctl reload
supervisorctl start signup
Copy signup.conf.nginx to /etc/nginx/conf.d/signup.conf
Unlink default site and reload:
unlink /etc/nginx/sites-enabled/default
service nginx reload