From ee3936997bf32504f303f009c93e4c00fe77e768 Mon Sep 17 00:00:00 2001 From: Lyla Fischer Date: Sat, 28 Sep 2013 22:55:03 -0400 Subject: [PATCH] added instructions on how to run python from heroku --- {{cookiecutter.repo_name}}/docs/deploy.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/docs/deploy.rst b/{{cookiecutter.repo_name}}/docs/deploy.rst index 5421fe52..eda5220c 100644 --- a/{{cookiecutter.repo_name}}/docs/deploy.rst +++ b/{{cookiecutter.repo_name}}/docs/deploy.rst @@ -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