Tutorial on GitHub Pages + Travis CI + Heroku + Zeit with simple Flask app.
- index.html - just redirect to
templates/index.html
- for GH Pages demo - templates/ folder with html files
- requirements.txt - python packages to be installed
- index.html (in
master
,docs
orgh-pages
branch) - proper routing for static files (please google)
- .travis.yml
- Procfile
- app.json (optional: only to make "deploy with heroku" button work)
- now.json
- non-organization repos only
- non-mutable disk of deployed server
Автор: @ohld вдохновлялся: