ClubHub is a dynamic and user-friendly web application designed to streamline the management of sports clubs.
This project aims to create a seamless experience for both students and coordinators in organizing and participating in various sports clubs and events.
Before following the steps below, ensure you have the latest version of Python installed
(We recommend Python 3.12.2 or higher).
Follow Python's Installation Guide to download
the latest version for your platform.
- Navigate to an appropriate directory and clone the GitHub repository.
cd projects git clone https://github.com/darragh0/ClubHub.git
- Navigate to the
appfolder within theClubHubdirectory and create a virtual environment.
This folder contains everything needed for the app to run.cd ClubHub/app python -m venv .venv
- Activate the virtual environment you just created.
.venv/Scripts/activate
- Install the requirements listed in
requirements.txt.pip install -r requirements.txt
- Finally, use the following command to run the Flask application.
flask run
- You should see an output similar to the following:
* Serving Flask app 'app' * Debug mode: off WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on http://127.0.0.1:5000 Press CTRL+C to quit
- To view the web application, click the link in the output.
Assuming you are on windows, the commands above should work in a standard cmd.exe command shell.
If they do not work, or if you are on a different platform, refer to Python's Virtual Environment Documentation.
NOTE: If you do not follow the steps exactly as described, the application may not run properly.