This guide outlines the essential steps for setting up the project:
- Creating a virtual environment using
venv
. - Activating the virtual environment.
- Installing project dependencies from
requirements.txt
. - Starting the Flask application.
You can adapt this guide to your specific project needs and provide additional information as required.
To get started with this project, follow these steps:
Before you begin, make sure you have Python installed. If not, you can download and install Python from python.org.
To create a virtual environment, open a terminal and navigate to your project's directory. Run the following commands:
python -m venv venv
# On macOS/Linux
source venv/bin/activate
# On Windows
venv\Scripts\activate
pip install -r requirements.txt
python run.py runserver
Save Project Dependencies to requirements.txt
If you install any new libraries or update existing ones during development, remember to update your requirements.txt file to keep a record of your project's dependencies. To do this, you can use the following command:
pip freeze > requirements.txt
pip install --upgrade pip