瀏覽代碼

updated script for new repo install

Joseph Snow 13 年之前
父節點
當前提交
0be9dbe7c4
共有 1 個文件被更改,包括 20 次插入4 次删除
  1. 20 4
      util/start.sh

+ 20 - 4
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