Heroku crash course =================== `Heroku`_ is a web service that provides (limited) free hosting for web applications in many programming languages, including Python. This document is a crash course in setting up a Python application on Heroku. We set up the `example application `_ from before. Registration ------------ Head over to `Heroku`_ and make an account. Downloading the toolbelt ------------------------ We need to install some programs to let us interact with Heroku. They want you to run .. code-block:: bash wget -O- https://toolbelt.heroku.com/SOMETHING | sh where ``SOMETHING`` is really ``install-ubuntu.sh`` but blindly piping output like that to ``sh`` is a horrible idea so I'm making it hard to copy and paste it. Instead we are going to running .. code-block:: bash wget -O- https://toolbelt.heroku.com/SOMETHING > tmp.sh And then inspect ``tmp.sh``. We find .. code-block:: bash #!/bin/sh { echo "This script requires superuser access to install apt packages." echo "You will be prompted for your password by sudo." # clear any previous sudo permission sudo -k # run inside sudo sudo sh <