https://github.com/segfaultax/sampleapp-flask
For teaching Flask
https://github.com/segfaultax/sampleapp-flask
Last synced: 5 months ago
JSON representation
For teaching Flask
- Host: GitHub
- URL: https://github.com/segfaultax/sampleapp-flask
- Owner: SegFaultAX
- Created: 2013-08-13T06:11:34.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-19T00:05:46.000Z (over 12 years ago)
- Last Synced: 2025-03-23T04:11:18.171Z (about 1 year ago)
- Language: Python
- Size: 54.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask Sample App
Small [Flask](http://flask.pocoo.org/) app built in 30 minutes to demonstrate
psycopg2 connection pools, dead simple database migrations and data seeding.
**Note: This project is for demonstration purposes only and not under active
development.**
## Getting Started
* Install:
`pip install -r requirements.txt`
* Migrate database:
`python migrate.py`
* Seed database:
`python seed.py`
* Start app server:
`python app.py`
## License
The MIT License
Copyright (c) 2013 Michael-Keith Bernard
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.