COMP0034 2023-24 Week 5 coding activities
This assumes you have already forked the coursework repository and cloned the resulting repository to your IDE.
- Create and activate a virtual environment
- Install the requirements
pip install -r requirements.txt
- Run the app
flask --app paralympics run --debug
- Open a browser and go to http://127.0.0.1:5000/regions (there is no longer a home page)
- Stop the app using
CTRL+C
- Check that you have an instance folder containing
paralympics.sqlite
The activities are in two files:
Neither of these are mandatory for the coursework baseline.
Effective and consistent error handling is a criterion in the code aspect at the higher grades.
Some students included authentication in their requirements and may therefore wish to implement this. This would increase the challenge of the solution.