piku/examples/python
Rui Carmo 550746165d sort env 2016-05-03 22:17:44 +01:00
..
static nicer example 2016-05-03 20:46:19 +01:00
views nicer example 2016-05-03 20:46:19 +01:00
ENV Nicer example app 2016-04-02 00:58:47 +01:00
Procfile Generic worker support 2016-03-29 23:15:16 +01:00
README.md Nicer example app 2016-04-02 00:58:47 +01:00
main.py sort env 2016-05-03 22:17:44 +01:00
requirements.txt first pass at sample apps 2016-03-29 20:31:12 +01:00
worker.py Nicer example app 2016-04-02 00:58:47 +01:00

README.md

Python Sample Application

This is a simple Python app that demonstrates:

  • HTTP port selection via the PORT variable (set in ENV)
  • An independent worker process (that is auto-restarted upon exit)

To publish this app to piku, make a copy of this folder and run the following commands:

cd python_copy
git init .
git remote add piku piku@your_server:python_example
git add .
git commit -a -m "initial commit"
git push piku master