Skip to content
/ flask-starter Public template

Flask starter app. One-click deploy to Heroku.

Notifications You must be signed in to change notification settings

dolugen/flask-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Starter App

A barebones Flask app, which can easily be deployed to Heroku.

This is a template repository, you can generate your own from this.

Adapted from heroku/python-getting-started.

Heroku and Flask

Running Locally

Make sure you have Python 3.x installed locally. To push to Heroku, you'll need to install the Heroku CLI.

(See runtime.txt for the specific Python version. You can change it to your needs)

$ git clone https://github.com/dolugen/flask-starter.git
$ cd flask-starter

$ python3 -m venv env
$ source ./env/bin/activate
$ pip install -r requirements.txt

$ heroku local

Your app should now be running on localhost:5000.

Testing

$ pytest tests.py

Deploying to Heroku

$ heroku create
$ git push heroku master

$ heroku open

or

Deploy

Documentation

For more information about using Python on Heroku, see these Dev Center articles:

About

Flask starter app. One-click deploy to Heroku.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages