Skip to content

Commit

Permalink
Update addons to use 'create' instead of 'add'. Include optional step…
Browse files Browse the repository at this point in the history
… for pre-existing apps, and show how to use a settings.json file
  • Loading branch information
Cameron Stuart committed May 15, 2015
1 parent 75c9a8f commit fd56987
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Expand Up @@ -35,13 +35,26 @@ Create your heroku app
% heroku create --buildpack https://github.com/jordansissel/heroku-buildpack-meteor.git
```

Or if your Heroku app already exists

```
heroku buildpacks:set https://github.com/jordansissel/heroku-buildpack-meteor.git
```

Configure your plugins & settings

```
% heroku addons:add mongolab:sandbox
% heroku addons:create mongolab:sandbox
% heroku config:add MONGO_URL=<insert_value_of_MONGOLAB_URI_here>
% heroku config:add ROOT_URL=<insert_url_created_above_here>
```

Optional step, if you are using a ```settings.json``` file to configure your Meteor application

```
% heroku config:add METEOR_SETTINGS="$(cat settings.json)"
```

Deploy it

```
Expand Down

0 comments on commit fd56987

Please sign in to comment.