Node.js
From PlcWiki
(Difference between revisions)
m (Created page with '== Instalace == * sudo yum install npm * cd /usr/lib (zde se nachází adresář node_modules) * npm install -g node-gyp * npm install -g pm2 * cd path/opt/node/myappdir * git c…') |
m (→Instalace) |
||
Line 8: | Line 8: | ||
* git clone | * git clone | ||
* npm install | * npm install | ||
- | * pm2 start app-pm2.json | + | * pm2 start app-pm2.json (nebo custom-pm2.json) |
Revision as of 15:32, 7 October 2013
Instalace
- sudo yum install npm
- cd /usr/lib (zde se nachází adresář node_modules)
- npm install -g node-gyp
- npm install -g pm2
- cd path/opt/node/myappdir
- git clone
- npm install
- pm2 start app-pm2.json (nebo custom-pm2.json)