mirror of
https://github.com/demostf/demoserver.git
synced 2026-06-03 13:54:12 +02:00
add a README
This commit is contained in:
parent
5bbaaabfe7
commit
c58ea9ea85
1 changed files with 24 additions and 0 deletions
24
README.md
Normal file
24
README.md
Normal file
|
|
@ -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 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
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue