chol
/
eva
forked from tohe/eva
1
0
Fork 0
A simple tool for on- and ofboarding in a mid sized organisation.
Go to file
Benni Bärmann b2493e01b0 new field keyboard layout, removed field landline 2021-05-04 12:45:41 +02:00
eva some fields changed/removed, "Weiter" is "Abschicken" in last step now 2021-05-04 10:44:00 +02:00
evapp new field keyboard layout, removed field landline 2021-05-04 12:45:41 +02:00
.gitignore reorganisation of settings/git for production 2021-03-18 13:49:14 +01:00
LICENSE Initial commit 2020-12-23 09:33:04 +00:00
README.md added some adresses, settings and documentation 2021-04-07 13:56:45 +02:00
TODO removed empty lines in mails. bugfix regarding mail generation 2021-05-04 12:16:01 +02:00
manage.py django initialisation 2020-12-23 10:59:05 +01:00

README.md

eva

A simple tool for on- and offboarding people in a mid sized organisation.

"EVA" is an german acronym for "Eintritt, Veränderung, Austritt", meaning "Onboarding, Change, Offboarding"

development

  • set up a virtual environment with virtualenvwrapper or some other environment managing tool

  • use this environment and do

    pip install django django-multiselectfield django-formtools

  • clone this repository

  • initialise your database with

    python manage.py migrate

  • start your development server with

    python manage.py runserver

production

  • you can use gunicorn as server for example instead of the django development server.

  • we use whitenoise for serving static files

  • we still use the development SQLITE database from django

do the following in the project main directory:

ln -sr eva/settings_production.py eva/settings.py

edit /secrets.json to contain something similar to

{ "SECRET_KEY": "THIS IS ANOTHER SECRET!" }

run the following commands:

python3 manage.py migrate python3 manage.py collectstatic

server starts with

nohup gunicorn --forwarded-allow-ips="*" -b '0:8000' eva.wsgi 2&> logfile &