Skip to content

foss4/dideban

Folders and files

NameName
Last commit message
Last commit date
Jun 17, 2020
Jun 17, 2020
Sep 22, 2021
Jun 7, 2020
Jun 15, 2020
Jun 10, 2020
Jun 10, 2020
Jun 3, 2020
Jun 10, 2020
Jun 10, 2020
Jun 10, 2020
Jun 3, 2020
Jun 4, 2020

Repository files navigation

dideban

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/