From 0be9dbe7c402e9435d4311cc8d904a9f2e9ad942 Mon Sep 17 00:00:00 2001 From: Joseph Snow Date: Sat, 12 Nov 2011 21:50:00 -0700 Subject: [PATCH] updated script for new repo install --- util/start.sh | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/util/start.sh b/util/start.sh index bfa33ef..2b9d4b0 100755 --- a/util/start.sh +++ b/util/start.sh @@ -4,16 +4,33 @@ cd ~ export PATH="/usr/local/bin:$PATH" +rm -rf bc +git clone git@github.com:finalsclubdev/bc +cd ~/bc +npm install connect +npm install socket.io +npm install express-messages +npm install jade + + rm -rf fc git clone git@github.com:finalsclubdev/FinalsClub.git ln -sf FinalsClub fc -cd fc + +cd ~/fc git checkout master git submodule init && git submodule update npm install cd etherpad-lite npm install +# install some dependencies +cd ~/fc +npm install connect +npm install socket.io +npm install express-messages +npm install jade + ## init fcbackup cd ~/fc/fcbackups @@ -21,9 +38,8 @@ chmod 775 fcbackup_init.sh ./fcbackup_init.sh - -cd - +## start the server +cd ~/fc ./restart.sh -- 2.25.1