A dummy flask application with unit tests for IS212 Software Project Management
This repo is meant to run within a GitHub Codepace. To run it locally, you will need to ensure that you have MySQL Server and Python 3 installed
- Create a virtual environment:
python -m venv venv - Install Python dependencies:
chmod +x venv\bin\activate
venv\bin\activate
pip install -r requirements.txt
- Run the SQL Script to set up the local MySQL database:
sudo mysql -u root < is212_example.sql
- Run the application to verify that it works:
python app.py - Visit the webpages at
http://<codespace provided-url or localhost:5000>/view-consultations.html - Run Coverage Tests as needed:
python -m coverage run test_unit.py
python -m coverage run test_integration.py
- Generate the coverage report:
python -m coverage html