-
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
Showing
1 changed file
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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 [email protected]: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 | ||
``` |