mirror of
https://github.com/demostf/demoserver.git
synced 2026-06-03 13:54:12 +02:00
Update README.md
This commit is contained in:
parent
1cddf4b261
commit
89c8b2b7e4
1 changed files with 10 additions and 8 deletions
18
README.md
18
README.md
|
|
@ -2,15 +2,17 @@
|
|||
|
||||
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 git@github.com:heroku/node-js-getting-started.git # or clone your own fork
|
||||
cd node-js-getting-started
|
||||
npm install
|
||||
npm start
|
||||
$ git clone git@github.com: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/).
|
||||
|
|
@ -18,17 +20,17 @@ 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue