This repository is for the attendance service of uPresent
NOTE:
- Use PyCharm or Visual Code as the IDE for faster dev.
Steps:
- Clone this git repository to your local machine.
- Install python, pip and pipenv.
- Run command "pipenv install flask", "pipenv install flask_restful" and "pipenv install flask-mongoengine"
- Run application with command "flask run". Process will run on http://127.0.0.1:5000/
NOTE:
- Local machine setup does not support https.
- This project runs on Mongo running on localhost:27017 with no auth.
Steps:
- Clone this git repository to your local machine.
- Run the command in the attendance folder "docker build -t attendance:latest ."
- After successful build, run command "docker run -d -p 5000:5000 attendance:latest"
http://{host}:{port}/api/spec.html