You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
541 B
24 lines
541 B
11 years ago
|
# node-js-sample
|
||
|
|
||
|
This is a barebones Node.js app using the [Express](http://expressjs.com/) framework.
|
||
|
|
||
|
## Running Locally
|
||
|
|
||
|
Asumming you have [Node.js](http://nodejs.org/) and [Heroku Toolbelt](https://toolbelt.heroku.com/) installed on your machine:
|
||
|
|
||
|
```sh
|
||
|
git clone git@github.com:heroku/node-js-sample.git # or clone your own fork
|
||
|
cd node-js-sample
|
||
|
npm install
|
||
|
foreman start
|
||
|
```
|
||
|
|
||
|
Your app should now be running on [localhost:5000](http://localhost:5000/).
|
||
|
|
||
|
## Deploying to Heroku
|
||
|
|
||
|
```
|
||
|
heroku create
|
||
|
git push heroku master
|
||
|
heroku open
|
||
|
```
|