This is a simple Flask web application.
my-flask-project
├── app
│ ├── __init__.py
│ ├── routes.py
│ └── models.py
├── requirements.txt
├── config.py
└── README.md
-
Clone the repository:
git clone <repository-url> cd my-flask-project -
Create a virtual environment:
python -m venv venv -
Activate the virtual environment:
- On Windows:
venv\Scripts\activate - On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
To run the application, use the following command:
flask run
Make sure to set the FLASK_APP environment variable to app before running the command.
Feel free to submit issues or pull requests for improvements or bug fixes.