Node.js
From PlcWiki
(Difference between revisions)
m (→Instalace) |
m (→Instalace) |
||
Line 1: | Line 1: | ||
- | == Instalace == | + | == Instalace prostředí a aplikace == |
* sudo yum install npm | * sudo yum install npm |
Revision as of 15:33, 7 October 2013
Instalace prostředí a aplikace
- 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)