Skip to content

gmpis/flask_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_template

This is a template repository for deploying Flask apps

Installation

pip install -r requirements.txt

Run the app

export FLASK_APP=hello.py
flask run

Now you can access the app using a web browser at http://127.0.0.1:5000/

Advanced

export FLASK_APP=hello.py
export FLASK_RUN_PORT=5005
export FLASK_ENV=development

flask run --host=0.0.0.0 --port=5005

OR run the app using gunicorn:

gunicorn -w 1 -b 127.0.0.1:5005 hello:app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages