Application de gestion de l'organisation d'évènements et de l'inventaire du matériel
Find a file
Martin Pepin 3aab76613a Merge branch 'Aufinal/permissions' into 'master'
Permissions par évènement

See merge request cof-geek/GestionEvenementiel!15
2018-05-03 14:34:36 +02:00
api Update AppConfigs 2017-08-19 15:36:45 +02:00
communication Merge branch 'master' into Aufinal/permissions 2018-05-03 12:45:29 +02:00
equipment Merge branch 'master' into Aufinal/permissions 2018-05-03 12:45:29 +02:00
evenementiel Merge branch 'master' into Aufinal/permissions 2018-05-03 12:45:29 +02:00
event Merge branch 'master' into Aufinal/permissions 2018-05-03 12:45:29 +02:00
provisioning Merge branch 'master' into Kerl/dev_env 2017-05-17 10:33:05 +01:00
shared Update AppConfigs 2017-08-19 15:36:45 +02:00
users Merge branch 'master' into Aufinal/permissions 2018-05-03 12:45:29 +02:00
.gitignore now Aufinal should be satistied 2017-07-20 15:22:42 +02:00
manage.py venv works fine 2017-07-20 15:18:29 +02:00
README.md Roll back to Debian8 for the vagrant VM 2017-05-18 14:19:37 +01:00
requirements-devel.txt Split the settings in two files, secrets system 2017-05-16 19:52:59 +01:00
requirements.txt Merge branch 'master' into Aufinal/permissions 2018-05-03 12:45:29 +02:00
Vagrantfile Roll back to Debian8 for the vagrant VM 2017-05-18 14:19:37 +01:00

Gestion Événementiel

Vagrant

Production-like environment

Our Vagrant setup provides two ways of running GestionEvenementiel:

  1. You can run the usual development server with:

    python manage.py runserver 0.0.0.0:8000

    Please note that we specify the interface 0.0.0.0 to make the server reachable outside the VM at address localhost:8000

  2. A second instance, more similar to the production environment, runs with Daphne and nginx in the VM. It runs permanently by default but is not reloaded when you update the code. To restart this server, type:

    python manage.py collectstatic --noinput sudo systemctl restart daphne.service worker.service

    To query this instance from the host, you have to use the address localhost:8080. It is a good practice to ensure that this instance works before submitting a merge request (although it might break sometimes).