clean up the docs

This commit is contained in:
Nate Aune 2013-09-27 20:16:54 -04:00
parent 31e7456cbc
commit 00da531b06

View File

@ -1,29 +1,24 @@
Deploy
========
From within your project's directory, run these commands to deploy the project to Heroku::
.. code-block:: bash
From within your project's directory, run this command to create a Heroku app::
$ heroku create {{cookiecutter.project_name}}
Creating {{cookiecutter.project_name}}... done, stack is cedar
http://{{cookiecutter.project_name}}.herokuapp.com/ | git@heroku.com:{{cookiecutter.project_name}}.git
$ git init
Initialized empty Git repository in /path/to/your/project/{{cookiecutter.project_name}}/.git/
If you haven't cloned the project from an existing git repo, then you need to initialize it::
$ cd {{cookiecutter.repo_name}}
$ git init
Initialized empty Git repository in /path/to/your/project/{{cookiecutter.repo_name}}/.git/
Add the Heroku git repo as a remote, so that we can push to it.
.. code-block:: bash
$ git remote add heroku git@heroku.com:{{cookiecutter.project_name}}.git
Add a PostgreSQL database. Note that you will probably get a color other than "GOLD". This is normal.
.. code-block:: bash
$ heroku addons:add heroku-postgresql:dev
Adding heroku-postgresql:dev on {{cookiecutter.project_name}}... done, v3 (free)
Attached as HEROKU_POSTGRESQL_GOLD_URL
@ -33,8 +28,6 @@ Add a PostgreSQL database. Note that you will probably get a color other than "G
Add pgbackups to handle backups of the PostgreSQL database::
.. code-block:: bash
$ heroku addons:add pgbackups
Adding pgbackups on {{cookiecutter.project_name}}... done, v4 (free)
You can now use "pgbackups" to backup your databases or import an external backup.