simple Attendance system written in python and django.
clone the repo
git clone https://github.com/foss4/dideban && cd dideban
install virtualenv package
python3 -m pip install virtualenv
make new virtual env and activate it:
python3 -m virtualenv .venv && source .venv/bin/activate
install requirements:
pip install -r requirements/local.txt
run project with:
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver
for swagger open localhost:8000 in browser
or to run with docker:
cp gunicorn_conf.py.sample gunicorn_conf.py
docker build . -t dideban_image
docker run -p 8000:8000 dideban_image
for more options see:
https://docs.docker.com/engine/reference/run/