etherpadlite: Include nodejs
This commit is contained in:
parent
089e98d8d1
commit
68cba94ab5
2 changed files with 3 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
#
|
||||
class etherpadlite {
|
||||
|
||||
include nodejs
|
||||
|
||||
include user::system
|
||||
realize(User["etherpad"], Group["etherpad"])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue