etherpadlite: Include nodejs

This commit is contained in:
Ossi Salmi 2013-07-02 22:34:27 +03:00
parent 089e98d8d1
commit 68cba94ab5
2 changed files with 3 additions and 10 deletions

View file

@ -1,12 +1,3 @@
= Install node.js (for CentOS) =
yum install v8-devel openssl-devel zlib-devel
mkdir /usr/local/src/nodejs && cd /usr/local/src/nodejs
wget http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure --shared-v8 --shared-openssl --shared-zlib
make install
= Install etherpad-lite =
su -s /bin/bash - etherpad
@ -17,7 +8,7 @@ bin/run.sh
^C
npm install ep_monospace_default
= Starting etherpad-lite =
= Start etherpad-lite =
su -s /bin/bash - etherpad
tmux new etherpad-lite/bin/run.sh

View file

@ -2,6 +2,8 @@
#
class etherpadlite {
include nodejs
include user::system
realize(User["etherpad"], Group["etherpad"])