-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deployment instructions to README
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
# hello-mongoose: Mongoose.js: elegant MongoDB object models for Node.js. | ||
========================= | ||
|
||
MongoDB and Node.js are often used together because of their shared use of Javascript and its Object Notation (JSON). Mongoose is a popular helper library that provides a more rigorous modeling environment for your data, enforcing a little bit more structure as needed, while still maintaining flexibility that makes MongoDB powerful. In this article, you make a connection to a hosted MongoDB instance at add-on provider MongoLab with Mongoose and model a simple object. | ||
|
||
## Deployment | ||
|
||
To deploy [the app to Heroku](http://hello-mongoose.herokuapp.com/) you can use this [one-click deploy link]() or follow these steps: | ||
|
||
1. `git clone git://github.com/mongolab/hello-mongoose.git && cd hello-mongoose` | ||
2. `heroku create` | ||
3. `heroku addons:add mongolab` | ||
3. `git push heroku master` | ||
4. `heroku open` | ||
|
||
## License | ||
|
||
MIT Licensed |