This is a simple Flask web application that renders an HTML template.
Arijit Aich
0.1
11-06-2024
- Python 3.7 or higher
- Flask
-
Clone the repository: git clone this-repository cd this-repository
-
Create a virtual environment: python -m venv venv
-
Activate the virtual environment:
-
On Windows: .\venv\Scripts\activate
-
On Linux/Mac: source venv/bin/activate
-
-
Install the dependencies: pip install -r requirements.txt
-
Start the Flask application: python app.py
-
Access the application: Open your web browser and go to
http://0.0.0.0:8080
.
this-repository/ │ ├── app.py ├── requirements.txt ├── templates/ │ └── index.html └── README.md
app.py
: The main Flask application file.requirements.txt
: A file listing the Python dependencies.templates/
: A directory containing HTML templates.templates/index.html
: The primary rendering html file.README.md
: This file.
Set the ports inside app.py to your preferred port number before running the app.py file.
This project is licensed under the MIT License.