CozyCourse is a powerful web application for managing courses. The app was developed as part of a university project.
-
Install docker engine and start the app docker installation
-
Run docker compose in the terminal (this project root)
sudo docker compose up
# (maybe `docker-compose`)
# If you dont want to see the console, run:
sudo docker compose up -d- To stop it, run:
sudo docker compose down- To see all docker instances, run:
sudo docker ps- Create a virtual environment:
python3 -m venv venv- Activate the virtual environment:
source venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Start the Flask development server:
flask run --app web_app run- Debug mode:
flask run --app web_app run --debug- Init dummy DB data:
flask run --app web_app init-dbThe application will be available at http://localhost:5000
- Make sure your virtual environment is activated and Mongo is running
- Run all tests:
pytest- Run specific test file:
pytest tests/test_filename.py- Run specific test file and disable warnings:
pytest tests/test_filename.py --disable-warnings{% extends "base.html" %}
{% block title %}Statistiken{% endblock %}
{% block subHeader %}Kursbelegung{% endblock %}
{% block header %}Verfügbare Kurse{% endblock %}
{% block body %}
...your code...
{% endblock %}This project was part of a group project in 'Hochschule Kempten'. Developed by: Michael Stöhr, Cedric DeJarnatt, Samuel Käufler, Leon Baur, Matthias Steger, Julian Wirth
