All Projects → deis → example-python-flask

deis / example-python-flask

Licence: MIT license
A simple Python / Flask app for Deis, the open source PaaS

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to example-python-flask

example-ruby-sinatra
A simple Ruby app for Deis, the open source PaaS
Stars: ✭ 18 (+12.5%)
Mutual labels:  deis-workflow
dockerbuilder
Deis dockerbuilder builds your app from a Dockerfile inside a Kubernetes pod, used by Deis Workflow.
Stars: ✭ 17 (+6.25%)
Mutual labels:  deis-workflow
postgres
A PostgreSQL database used by Deis Workflow.
Stars: ✭ 37 (+131.25%)
Mutual labels:  deis-workflow
docker-go-dev
The containerized Go development environment.
Stars: ✭ 93 (+481.25%)
Mutual labels:  deis-workflow
minio
Minio Object Storage in Kubernetes, used by Deis Workflow.
Stars: ✭ 51 (+218.75%)
Mutual labels:  deis-workflow
logger
In-memory log buffer used by Deis Workflow.
Stars: ✭ 17 (+6.25%)
Mutual labels:  deis-workflow
builder
Git server and application builder for Deis Workflow
Stars: ✭ 40 (+150%)
Mutual labels:  deis-workflow

Python Quick Start Guide

This guide will walk you through deploying a Python / Flask application on Deis Workflow.

Usage

$ git clone https://github.com/deis/example-python-flask.git
$ cd example-python-flask
$ deis create
Creating Application... done, created queens-airfield
Git remote deis added
remote available at ssh://[email protected]:2222/queens-airfield.git
$ git push deis master
Counting objects: 108, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (95/95), done.
Writing objects: 100% (108/108), 23.81 KiB | 0 bytes/s, done.
Total 108 (delta 41), reused 0 (delta 0)
Starting build... but first, coffee!
-----> Python app detected
-----> Installing python-2.7.11
       $ pip install -r requirements.txt
       Collecting Flask==0.11 (from -r requirements.txt (line 1))
       Downloading Flask-0.11-py2.py3-none-any.whl (80kB)
       Collecting Jinja2==2.8 (from -r requirements.txt (line 2))
       Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
       Collecting gunicorn==19.6.0 (from -r requirements.txt (line 3))
       Downloading gunicorn-19.6.0-py2.py3-none-any.whl (114kB)
       Collecting click>=2.0 (from Flask==0.11->-r requirements.txt (line 1))
       Downloading click-6.6.tar.gz (283kB)
       Collecting itsdangerous>=0.21 (from Flask==0.11->-r requirements.txt (line 1))
       Downloading itsdangerous-0.24.tar.gz (46kB)
       Collecting Werkzeug>=0.7 (from Flask==0.11->-r requirements.txt (line 1))
       Downloading Werkzeug-0.11.10-py2.py3-none-any.whl (306kB)
       Collecting MarkupSafe (from Jinja2==2.8->-r requirements.txt (line 2))
       Downloading MarkupSafe-0.23.tar.gz
       Installing collected packages: click, itsdangerous, Werkzeug, MarkupSafe, Jinja2, Flask, gunicorn
       Running setup.py install for click: started
       Running setup.py install for click: finished with status 'done'
       Running setup.py install for itsdangerous: started
       Running setup.py install for itsdangerous: finished with status 'done'
       Running setup.py install for MarkupSafe: started
       Running setup.py install for MarkupSafe: finished with status 'done'
       Successfully installed Flask-0.11 Jinja2-2.8 MarkupSafe-0.23 Werkzeug-0.11.10 click-6.6 gunicorn-19.6.0 itsdangerous-0.24

-----> Discovering process types
       Procfile declares types -> web
-----> Compiled slug size is 37M
Build complete.
Launching App...
Done, queens-airfield:v2 deployed to Deis

Use 'deis open' to view this application in your browser

To learn more, use 'deis help' or visit https://deis.com/

To ssh://[email protected]:2222/queens-airfield.git
 * [new branch]      master -> master
$ curl http://queens-airfield.deis.rocks
Powered by Deis

Additional Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].