-
deployment with GitHub
- 參考網頁
-
步驟
- 安裝git
- 切換到目錄
-
複製資料庫
- git clone http://github.com/pulipulichen/dspace-dlll.git
- git clone http://github.com/pulipulichen/dspace-dlll.git dspace-1.5.0-src-release
-
~/full_rebuild.sh
- /dspace/webapps/jspui/
- /opt/apache-tomcat-6.0.16/webapps/jspui/
- \cp -rf /dspace/webapps/jspui/ /opt/apache-tomcat-6.0.16/webapps/jspui/
- 目錄
-
pull
- git --git-dir=/var/www/.git
- git --git-dir=/opt/dspace-1.5.0-src-release/.git pull
-
~/update_system.sh
- 後續工作
- 刪除多餘的dspace source目錄
-
無法覆蓋
- git --git-dir=/opt/dspace-1.5.0-src-release/.git stash --include-untracked
- git --git-dir=/opt/dspace-1.5.0-src-release/.git --exec-path=/opt/dspace-1.5.0-src-release/.git pull
- git --git-dir=/opt/dspace-1.5.0-src-release/.git --exec-path=/opt/dspace-1.5.0-src-release/.git reset --hard HEAD