This repo provides an example of a heroku deployable application made with Bocadillo.
You'll need heroku-cli installed on your machine.
Install dependencies with:
pip install -r requirements.txt
Note: this particular example project deploys the application with Python 3.6.8. You can edit the runtime.txt
file to specify which version of Python Heroku should use.
First, login & create an app via heroku-cli or in the Heroku dashboard.
heroku login
heroku apps:create my-bocadillo-app
Then add the Heroku git remote:
heroku git:remote -a my-bocadillo-app
Finally, push & deploy to Heroku:
git push heroku master
The app will then be accessible at https://my-bocadillo-app.herokuapp.com/. π