Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanj/flask-base
A basic Flask example with support for easy APIs and static files
https://github.com/ryanj/flask-base
Last synced: 13 days ago
JSON representation
A basic Flask example with support for easy APIs and static files
- Host: GitHub
- URL: https://github.com/ryanj/flask-base
- Owner: ryanj
- Created: 2014-04-27T02:19:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-25T22:46:08.000Z (almost 9 years ago)
- Last Synced: 2024-10-11T00:12:48.032Z (about 1 month ago)
- Language: HTML
- Homepage: https://flask-h0st.rhcloud.com
- Size: 24.4 KB
- Stars: 13
- Watchers: 3
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A basic Flask quickstart
*With support for serving easy APIs and static content* [![Build Status](http://img.shields.io/travis/ryanj/flask-base.svg)](https://travis-ci.org/ryanj/flask-base)[![LAUNCH ON OpenShift](https://launch-shifter.rhcloud.com/launch/LAUNCH ON.svg)](https://launch-shifter.rhcloud.com/r?url=https%3A%2F%2Fopenshift.redhat.com%2Fapp%2Fconsole%2Fapplication_type%2Fcustom%3F%26cartridges%5B%5D%3Dpython%26initial_git_url%3Dhttps%3A%2F%2Fgithub.com%2Fryanj%2Fflask-base.git%26name%3Dflask)
To deploy a clone of this application using the [`rhc` command line tool](http://rubygems.org/gems/rhc):
rhc app create flask python-2.7 --from-code=https://github.com/ryanj/flask-base.git
Or [link to a web-based clone+deploy](https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=python-2.7&initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2Fflask-base.git) on [OpenShift Online](http://OpenShift.com) or on [your own OpenShift cloud](http://openshift.github.io):## Local server
Start a local webserver by running:```bash
python flaskapp.py
```## License
This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)