data science tutorials and snippets prepared by tomis9
heroku is a platform which lets you run your django app on a server for free. Or at least this is how I use it ;)
available at heroku.com
deployment of your app is very simple. You write yor code, test it locally and push to the repo. The app is automatically deployed, as long as you set heroku to be one of your remote git repos.
a basic app is free. That is why it’s perfect for learning and testing.
I assume you managed to install heroku api (pip install django-heroku
). I recommend installing it in your venv, preferably in the venv of your django project. If you faced any problems with installation, follow the instructions in this tutorial.
heroku login
redirects you to the browser so you could log in to your heroku account. You cannot deploy the app unless you’re logged in.
heroku apps
lists all the apps you created. You can also find this list through web browser.
You can list all the available commands by executing heroku
command.