Created Flask Example application for dokploy and added README.MD
This commit is contained in:
42
Flask-Example/README.MD
Normal file
42
Flask-Example/README.MD
Normal file
@@ -0,0 +1,42 @@
|
||||
# Flask Application Examples
|
||||
|
||||
This repository contains a Flask application along with necessary setup instructions.
|
||||
|
||||
## Installation
|
||||
|
||||
Follow these steps to set up and install the Flask application:
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- Python 3.x installed on your system. You can download Python from [python.org](https://www.python.org/).
|
||||
|
||||
### Setup
|
||||
|
||||
1. Make dir and go to directory:
|
||||
|
||||
```bash
|
||||
mkdir <directory>
|
||||
cd <directory>
|
||||
```
|
||||
2. Create and activate a virtual environment:
|
||||
```bash
|
||||
python3 -m venv venv
|
||||
```
|
||||
Activate the virtual environment:
|
||||
On windows:
|
||||
```bash
|
||||
venv\Scripts\activate
|
||||
```
|
||||
On macOS/Linux:
|
||||
```bash
|
||||
source venv/bin/activate
|
||||
```
|
||||
3. Install dependencies:
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
4. Running the Application:
|
||||
```bash
|
||||
python main.py
|
||||
```
|
||||
Reference in New Issue
Block a user