https://github.com/yefim/flask-heroku-sample
Flask Heroku Sample Application
https://github.com/yefim/flask-heroku-sample
flask flask-boilerplate heroku python
Last synced: 25 days ago
JSON representation
Flask Heroku Sample Application
- Host: GitHub
- URL: https://github.com/yefim/flask-heroku-sample
- Owner: yefim
- License: mit
- Created: 2012-06-03T08:50:48.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T06:29:05.000Z (over 2 years ago)
- Last Synced: 2025-05-14T06:42:59.577Z (about 2 months ago)
- Topics: flask, flask-boilerplate, heroku, python
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 69
- Watchers: 3
- Forks: 69
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Flask Heroku Sample
====================A simple Python Flask example application that's ready to run on Heroku.
[](https://heroku.com/deploy)
## Development Setup
* `pipenv install`
* `pipenv shell`
* `python app.py`
## Screenshot

## Deploy
* `heroku create`
* `heroku addons:create heroku-postgresql:hobby-dev`
* `git push heroku master`
* Note: make sure you run `db.create_all()` to create the tables:
```bash
$ heroku run python
Python 3.6.8 (default, Jan 29 2019, 19:35:16)
>>> from app import db
>>> db.create_all()
>>> exit()
```## Contributors
* [Yefim](https://twitter.com/yefim)