Virtual Q API
It's a web app which allows the user to manage virtual ticket queues. In this repository is the backend code of the web app.
python -m venv .venv
For Linux Based OS or Mac-OS
source .venv/bin/activate
For Windows with CMD
.\.venv\Scripts\activate.bat
Run those commands in the root folder of the repository:
pip install --upgrade pip
pip install -r requirements.txt
Run this command in the root folder of the repository:
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
7.2 You also need to start the Frontend Web Client "Virtual Q Web Client". (Check out the other Readme for detail instructions for that.)
Run this command in the root folder of the repository:
pylint .
Run this command in the root folder of the repository:
python manage.py test
Creating a migration:
python manage.py makemigrations
Apply migration:
python manage.py migrate
Run this command in the root folder of the repository:
pip freeze > requirements.txt
Import pdb in the file you want to start the debug:
import pdb
Add this line where the debug should start:
pdb.set_trace()
This project is a solo project.
- Jonas Voland
MIT