-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jon Mountjoy
committed
Aug 25, 2014
1 parent
1cddf4b
commit 89c8b2b
Showing
1 changed file
with
10 additions
and
8 deletions.
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 |
---|---|---|
|
@@ -2,33 +2,35 @@ | |
|
||
A barebones Node.js app using [Express 4](http://expressjs.com/). | ||
|
||
This application support the [Getting Started with Node on Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs) article - check it out. | ||
|
||
## Running Locally | ||
|
||
Make sure you have [Node.js](http://nodejs.org/) and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed. | ||
|
||
```sh | ||
git clone [email protected]:heroku/node-js-getting-started.git # or clone your own fork | ||
cd node-js-getting-started | ||
npm install | ||
npm start | ||
$ git clone [email protected]:heroku/node-js-getting-started.git # or clone your own fork | ||
$ cd node-js-getting-started | ||
$ npm install | ||
$ npm start | ||
``` | ||
|
||
Your app should now be running on [localhost:5000](http://localhost:5000/). | ||
|
||
## Deploying to Heroku | ||
|
||
``` | ||
heroku create | ||
git push heroku master | ||
heroku open | ||
$ heroku create | ||
$ git push heroku master | ||
$ heroku open | ||
``` | ||
|
||
## Documentation | ||
|
||
For more information about using Node.js on Heroku, see these Dev Center articles: | ||
|
||
- [10 Habits of a Happy Node Hacker](https://blog.heroku.com/archives/2014/3/11/node-habits) | ||
- [Getting Started with Node.js on Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs) | ||
- [Heroku Node.js Support](https://devcenter.heroku.com/articles/nodejs-support) | ||
- [Node.js on Heroku](https://devcenter.heroku.com/categories/nodejs) | ||
- [Best Practices for Node.js Development](https://devcenter.heroku.com/articles/node-best-practices) | ||
- [Using WebSockets on Heroku with Node.js](https://devcenter.heroku.com/articles/node-websockets) |