Below steps will guide you to run the Flask app locally on your machine. For running it on an online environment (like repl.it), refer to the GUIDE.md file.
Important 🚨: Everything is case-sensitive. Make sure to follow the instructions carefully.
- Install Git from git-scm.com and Python from python.org and make sure to check the box that says
Add Python to PATH
(checkbox for windows users, others check this article).
Note 📢: If you cannot install git, you can download the repository as a zip file and extract it. But please make sure to install Python.
- Clone this repository with the following command:
git clone https://github.com/GitHub-Campus-Club-PSGCT/flask-hackpack
- Change directory to the cloned repository:
cd flask-hackpack
- Install Flask using the following command:
pip install flask
-
Make changes to the
main.py
file wref to GUIDE.md file. -
Run the Flask app using the following command:
For MacOS / Linux:
python3 main.py
For Windows:
python main.py
-
Open your browser and go to
http://localhost:5000
to see the changes. -
For more control, install Postman app or Thunder Client directly into Visual Studio Code.