kopia lustrzana https://github.com/piku/piku
be0bd232f6 | ||
---|---|---|
.. | ||
static | ||
views | ||
ENV | ||
Procfile | ||
README.md | ||
clock.py | ||
main.py | ||
requirements.txt | ||
worker.py |
README.md
Python Sample Application
This is a simple Python app that demonstrates:
- HTTP port selection via the
PORT
variable (set inENV
)
- An independent worker process (that is auto-restarted upon exit)
- Another independent worker with a built-in scheduler
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