added instructions on how to run python from heroku

This commit is contained in:
Lyla Fischer 2013-09-28 22:55:03 -04:00
parent da942d59d4
commit ee3936997b

View File

@ -124,7 +124,11 @@ TODO: Explain how to serve static files with dj-static_.
.. _dj-static: https://github.com/kennethreitz/dj-static
Run this script: (TODO - automate this)
Open up a django shell on your heroku instance::
$ heroku run python {{cookiecutter.repo_name}}/manage.py shell --settings=config.settings
Run the following lines of code from within that shell: (TODO - automate this)
.. code-block:: python