Add new deployment info

This commit is contained in:
Sahat Yalkabov
2014-02-04 04:47:56 -05:00
parent 05cf844e28
commit 836f37b09b

View File

@ -746,9 +746,12 @@ If you want to see a really cool real-time dashboard check out this [live exampl
Deployment
----------
Once you are ready to deploy your app, you will need to create an account with a cloud platform to host it. These are not
the only choices, but they are my top picks. Create an account with **MongoLab** and then pick one of the 4 providers
below. Once again, there are plenty of other choices and you are not limited to just the ones listed below. From my
experience, **Heroku** is the easiest to get started with, it will automatically restart your node.js process when it crashes, custom domain support on free accounts, hot push deployments, and *Hackathon Starter* already includes `Procfile`, which is necessary for deployment to **Heroku**.
<img src="http://i.imgur.com/7KnCa5a.png" width="200">
- Open [mongolab.com](https://mongolab.com) website
- Click the yellow **Sign up** button
- Fill in your user information then hit **Create account**
@ -765,6 +768,7 @@ Deployment
- Finally, in `secrets.js` instead of `db: 'localhost'`, use the following URI with your credentials:
- `db: 'mongodb://<dbuser>:<dbpassword>@ds027479.mongolab.com:27479/<dbname>'`
**:exclamation:Note**: As an alternative to MongoLab there is also [MongoHQ[(http://www.mongohq.com/home).
### Heroku