This web application serves as a dynamic forum for pet lovers, providing a platform for sharing stories, asking questions, and organizing pet-related events. It's designed to facilitate community interaction and support among pet owners, leveraging a user-friendly interface with functionalities such as event postings, comment sections, and user profiles.
UWA ID | Name | GitHub Username |
---|---|---|
22823318 | Junyi Wu | 953740669wu |
22935319 | Xincheng Li | xinchengli1112 |
23701834 | Shuai Shao | ShuaiShao20010902 |
23950897 | Yunhao Jin | YunhaoJin02 |
To launch the application:
python3 -m venv venv
and then source venv/bin/activate
pip install -r requirement.txt
flask run
http://localhost:5000
in your web browser.flask db init
initializes the migration scripts.flask db migrate
detects changes in the models and creates migration scripts.flask db upgrade
applies the migration scripts to the database.To run the tests:
python -m unittest tests.test_models
python -m unittest tests.test_routes
These instructions provide a comprehensive guide to getting the application up and running on a local development environment and ensuring its functionality through tests.