Skip to content

jonge-democraten/zues

 
 

Repository files navigation

Zues

Build Status

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.

Setup

Prerequisites

MacOS:

  1. Have Xcode command-line tools installed. xcode-select --install
  2. Install dependencies
    1. Make sure you have Python 3 installed. brew install python MacOS comes with Python 2.7 by default.
    2. Install virtualenv. brew install virtualenv
    3. Install mysql. brew install mysql

Main

  1. Use scripts/build_env.sh to setup an environment.
  2. source env/bin/activate to activate the environment.
  3. Run python scripts/bootstrap.py.
  4. Add additional configuration in zuessite/local_settings.py.
  5. Run make run.
  6. Run make init.

Note that the server actually requires https

Using HTTPS for development environment

  1. pip install django-extensions Werkzeug pyOpenSSL
  2. Edit zuessite/local_settings.py to add django_extensions to INSTALLED_APPS.
  3. Make an SSL certificate, e.g. with openssl and some filename like foobar.cert
  4. Use python manage.py runserver_plus --cert foobar.cert

DB Schema

SQlite 3 DB schema DB Schema

About

Congresvoorstellen indienen

Resources

License

Stars

Watchers

Forks

Languages

  • Python 65.9%
  • HTML 33.7%
  • Other 0.4%