Zues is a Django-based web application developed for the Jonge Democraten. The JD regularly organizes political conferences. Members can send proposals to the conference teams using this web application.
MacOS:
- Have Xcode command-line tools installed.
xcode-select --install
- Install dependencies
- Make sure you have Python 3 installed.
brew install python
MacOS comes with Python 2.7 by default. - Install
virtualenv
.brew install virtualenv
- Install
mysql
.brew install mysql
- Make sure you have Python 3 installed.
- Use
scripts/build_env.sh
to setup an environment. source env/bin/activate
to activate the environment.- Run
python scripts/bootstrap.py
. - Add additional configuration in
zuessite/local_settings.py
. - Run
make run
. - Run
make init
.
Note that the server actually requires https
pip install django-extensions Werkzeug pyOpenSSL
- Edit
zuessite/local_settings.py
to adddjango_extensions
toINSTALLED_APPS
. - Make an SSL certificate, e.g. with openssl and some filename like foobar.cert
- Use
python manage.py runserver_plus --cert foobar.cert