mirror of
https://github.com/demostf/demoserver.git
synced 2026-06-03 13:54:12 +02:00
readme
This commit is contained in:
parent
450c889ca0
commit
aec5dfd8fd
1 changed files with 7 additions and 30 deletions
37
README.md
37
README.md
|
|
@ -1,36 +1,13 @@
|
|||
# node-js-getting-started
|
||||
# DemoServer
|
||||
|
||||
A barebones Node.js app using [Express 4](http://expressjs.com/).
|
||||
Basic server that parses demos provided either by upload or url
|
||||
|
||||
This application support the [Getting Started with Node on Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs) article - check it out.
|
||||
## Usage
|
||||
|
||||
## Running Locally
|
||||
### Upload
|
||||
|
||||
Make sure you have [Node.js](http://nodejs.org/) and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed.
|
||||
Send a POST request with the demo file to example.com:5000/parse
|
||||
|
||||
```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
|
||||
```
|
||||
### Url
|
||||
|
||||
Your app should now be running on [localhost:5000](http://localhost:5000/).
|
||||
|
||||
## Deploying to Heroku
|
||||
|
||||
```
|
||||
$ heroku create
|
||||
$ git push heroku master
|
||||
$ heroku open
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
For more information about using Node.js on Heroku, see these Dev Center articles:
|
||||
|
||||
- [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)
|
||||
Send a POST request with the url of a demo file to example.com:5000/url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue