mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-12-01 14:04:04 +03:00
added instructions on how to run python from heroku
This commit is contained in:
parent
da942d59d4
commit
ee3936997b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user