ubuntu, ror, jQuery, css, website memo
太嫩, 沒啥心得, 用來紀錄每天學的
2009年7月15日 星期三
capistrano 指令順序
* executing `deploy:update'
#** transaction: start
* executing `deploy:update_code'
...
#* executing "if [ -d /home/goadmin/algo_test/shared/cached-copy ]; then svn update -q --username goadmin --password goadmin1234 --no-auth-cache -r11562 /home/goadmin/algo_test/shared/cached-copy; else svn checkout -q --username goadmin --password goadmin1234 --no-auth-cache -r11562 svn://svn.icetech.com.tw/algostars_web /home/goadmin/algo_test/shared/cached-copy; fi"
#executing "cp -RPp /home/goadmin/algo_test/shared/cached-copy /home/goadmin/algo_test/releases/20090715082138 && (echo 11562 > /home/goadmin/algo_test/releases/20090715082138/REVISION)"
* executing `deploy:finalize_update'
#* executing "chmod -R g+w /home/goadmin/algo_test/releases/20090715082138"
#* executing "rm -rf /home/goadmin/algo_test/releases/20090715082138/log /home/goadmin/algo_test/releases/20090715082138/public/system /home/goadmin/algo_test/releases/20090715082138/tmp/pids &&\\\n mkdir -p /home/goadmin/algo_test/releases/20090715082138/public &&\\\n mkdir -p /home/goadmin/algo_test/releases/20090715082138/tmp &&\\\n ln -s /home/goadmin/algo_test/shared/log /home/goadmin/algo_test/releases/20090715082138/log &&\\\n ln -s /home/goadmin/algo_test/shared/system /home/goadmin/algo_test/releases/20090715082138/public/system &&\\\n ln -s /home/goadmin/algo_test/shared/pids /home/goadmin/algo_test/releases/20090715082138/tmp/pids"
#triggering after callbacks for `deploy:update_code'
* executing `algo:symlink'
* executing `deploy:symlink'
#* executing "rm -f /home/goadmin/algo_test/current && ln -s /home/goadmin/algo_test/releases/20090715082138 /home/goadmin/algo_test/current"
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言