Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 9 hours 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 (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T06:29:05.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T03:17:10.290Z (7 months ago)
- Topics: flask, flask-boilerplate, heroku, python
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 69
- Watchers: 3
- Forks: 71
- 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.
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
## Development Setup
* `pipenv install`
* `pipenv shell`
* `python app.py`
## Screenshot
![screenshot](https://i.imgur.com/wf74fxY.png)
## 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)