Skip to content

Commit

Permalink
Adding section on pg:promote.
Browse files Browse the repository at this point in the history
  • Loading branch information
randalldegges-okta-2 committed Jun 25, 2012
1 parent dede4ac commit 5e69565
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/source/running-on-heroku.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ you can simply run::

Bam!

The last thing you'll need to do is specify a default PostgreSQL database
(``django-skel`` requires this). To do this, run::

$ heroku pg:info

And you should see a database name, something like ``HEROKU_POSTGRESQL_NAVY``.
Once you've got that name, run::

$ heroku pg:promote HEROKU_POSTGRESQL_NAVY

To set your database as the default.


Step 3 - Configure the Environment
----------------------------------
Expand Down

0 comments on commit 5e69565

Please sign in to comment.