heroku - Error running foreman to fire up a Node.js app -


i trying run foreman on mint vm setup. purpose of learning node. using heroku , guide myself setup have hit road block when try , start foreman.

the error message is:

14:51:09 web.1  | started pid 10739 14:51:09 web.1  | exited code 1 14:51:09 system | sending sigterm processes sigterm received 

any great!

if following guide use on heroku instance skip steps required setting on other boxes. default heroku instances have node.js installed, there no need set on box prior deploying , launching first application.

to install node.js on linux mint. following:

  1. install required tools

    sudo apt-get install g++ curl libssl-dev apache2-utils

    sudo apt-get install git-core

  2. clone , make latest version of node.js

    git clone git://github.com/ry/node.git

    cd node

    ./configure

    make

    sudo make install

  3. go working directory project , run following:

    npm install

    foreman start

your node.js application example should working on local vm.

to sample node app testing local setup following:

`git clone git@github.com:heroku/node-js-sample.git # or clone own fork`  `cd node-js-sample`  `npm install`  `foreman start` 

browse http://localhost:5000 see sample application.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -