Skip to content

rosjerry/task-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flask Application

This is a Flask web application. Follow the instructions below to set up and run the application.

Prerequisites

  • Python 3.6 or higher
  • pip (Python package installer)

Setup Instructions

1. Clone the repository

git clone <repository-url>
cd task-flask

2. Create a virtual environment

python3 -m venv env

3. Activate the virtual environment

On Windows:

venv\Scripts\activate

On macOS/Linux:

source env/bin/activate

4. Install dependencies

pip3 install -r requirements.txt

Running the Application

Development server

flask run

The application will be available at http://127.0.0.1:5000/

Production server (using Gunicorn, if installed)

gunicorn app:app

Environment Variables

Create a .env file in the project root with the following variables (if needed):

FLASK_APP=app.py
FLASK_ENV=development
SECRET_KEY=your_secret_key

Additional Commands

To exit the virtual environment:

deactivate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages