Application de gestion de l'organisation d'évènements et de l'inventaire du matériel
Find a file
Daru13 3c848fe47c Improve event detail popup positionning (no above-positionning yet).
The popup is horizontally aligned with the click location, and 
vertically close to event (slightly on top of it, from below).

If the click occurs too much on the left or the right side of the 
screen, the horizontal position is shifted accordingly, so that it is 
never displayed outside of the screen. Note, however, that the small 
arrow supposed to point the related event is not shifted as well as of 
now (not as straightforward since it is a CSS pseudo-element).

This commit also removes the ability to display the popup _above_ the 
event in case the click occurs too close to the bottom of the screen. 
This feature should be reintroduced by a later commit once it will have 
been fixed :).
2018-11-24 03:37:40 +01:00
api Update AppConfigs 2017-08-19 15:36:45 +02:00
communication MAJ : add on_delete + MIDDLEWARE 2018-08-27 00:02:33 +02:00
equipment partial commit 2018-10-12 17:15:55 +02:00
event Improve event detail popup positionning (no above-positionning yet). 2018-11-24 03:37:40 +01:00
poulpe waaaa, maintenant on peut genre se connecter 2018-11-22 13:24:59 +01:00
provisioning rename app evenementiel to poulpe 2018-08-20 14:32:52 +02:00
shared Revert to old_css 2018-11-21 19:46:41 +01:00
users avec les migrations c'est mieux 2018-08-27 14:09:27 +02:00
.gitignore event base done 2018-08-26 21:18:51 +02:00
manage.py rename app evenementiel to poulpe 2018-08-20 14:32:52 +02:00
README.md Roll back to Debian8 for the vagrant VM 2017-05-18 14:19:37 +01:00
requirements-devel.txt MAJ : MAJ 2.0, remove debug_panel, django.change url.resolvers to django.urls 2018-08-27 00:30:12 +02:00
requirements-prod.txt prod requirements 2018-08-06 10:19:48 +02:00
requirements.txt MAJ allauth 2018-10-04 21:34:39 +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).