Skip to content

Commit

Permalink
Merge pull request #33 from diwanicki/patch-5
Browse files Browse the repository at this point in the history
Update Deploying_on_Heroku.md
  • Loading branch information
grahamgilbert committed Oct 16, 2014
2 parents 46e036d + 2d6a893 commit e1666dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/Deploying_on_Heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ Of course we haven't pushed Sal to Heroku yet. Let's fix that.
``` bash
$ git push heroku master
```
If you get a "Permission denied (publickey)." error at this point, it means you need to create/push an RSA public key for your current local machine account (the one active in terminal) to Heroku.

``` bash
$ heroku keys:add
```

You'll see Sal being pushed up to Heroku and Sal's requirements being installed. A Postgres database will also automatically be created for you. The database will be empty though, so let's populate it with what we need.

Expand All @@ -65,4 +70,4 @@ Your Sal installation is ready to use:
$ heroku open
```

As said earlier, the free version does have some limits. The most important with Sal is the number of rows you can have in the free database (10,000), so the more information you collect from each machine (Facter Facts and Munki Conditions), the larger your database is. It's a measley $9 a month to upgrade your database to 10 million rows, so it's easy to scale your database. For more information on upgrading your Heroku environment see [their documentation](https://devcenter.heroku.com/articles/upgrade-heroku-postgres-with-pgbackups).
As said earlier, the free version does have some limits. The most important with Sal is the number of rows you can have in the free database (10,000), so the more information you collect from each machine (Facter Facts and Munki Conditions), the larger your database is. It's a measley $9 a month to upgrade your database to 10 million rows, so it's easy to scale your database. For more information on upgrading your Heroku environment see [their documentation](https://devcenter.heroku.com/articles/upgrade-heroku-postgres-with-pgbackups).

0 comments on commit e1666dc

Please sign in to comment.