A simple tool for on- and ofboarding in a mid sized organisation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Benni Bärmann ed4d47dd40 firstname lastname added to mail subjects 2 days ago
eva ACCOUNT_EMAIL_REQUIRED = True not longer needed, TODO changed 2 weeks ago
evapp firstname lastname added to mail subjects 2 days ago
.gitignore reorganisation of settings/git for production 6 months ago
LICENSE Initial commit 9 months ago
README.md documentation bugfix 2 weeks ago
TODO new login page template 4 months ago
manage.py django initialisation 9 months ago

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 django-allauth

  • clone this repository

  • initialise your database with

    python manage.py migrate

  • start your development server with

    python manage.py runserver

oauth

  • You need to add oauth information in the django backend via .../admin in "Social Accounts"

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

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