Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

jonge-democraten/dyonisos

Repository files navigation

dyonisos

Build Status Coverage Status

Dyonisos is a Django based web application that was developed for the Jonge Democraten. The JD organized events with some regularity where guests have to subscribe and sometimes pay for entry. This is what Dyonisos was made for. It should be easy to create a form for an event, easy for guests to subscribe and pay and easy for the organizers of the event to see who is subscribed to what.

Requires Python 3.3+.

Quick install

  1. $ ./clean_env.sh
  2. $ ./build_env.sh
  3. $ source ./env/bin/activate
  4. $ python manage.py migrate
  5. $ python manage.py createsuperuser
  6. $ python manage.py runserver

System dependencies

On Ubuntu, the following packages need to be installed before running build_env.sh,

  • python3-dev
  • libmysqlclient-dev

Development

Run tests

$ python manage.py test

Create test data

$ python manage.py dumpdata --all --natural-foreign --indent 2 auth.User auth.Group subscribe > events/fixtures/test_data.json 

Special credits

Mathijs Kleijnen: Suggesting the name Dyonisos
Jonge Democraten: Supporting development