æ£ç¡®éæ©ï¼ é¦åé100% è¿æ°´é«è¾¾1.6% 18彩éå è´¹é¢ ä»æ¥æ³¨åï¼äº«18彩éï¼é¢å¤é¡¹æ°äººå¤§ç¤¼ è·çå½æ°å¨±ä¹ï¼å¼å§èµ¢é±ä¹æ ï¼ç¾ä¸è½»è½»æ¾æ¾å°æ ç«å³æ³¨å
æ£ç¡®éæ©ï¼ é¦åé100% è¿æ°´é«è¾¾1.6% 18彩éå è´¹é¢ ä»æ¥æ³¨åï¼äº«18彩éï¼é¢å¤é¡¹æ°äººå¤§ç¤¼ è·çå½æ°å¨±ä¹ï¼å¼å§èµ¢é±ä¹æ ï¼ç¾ä¸è½»è½»æ¾æ¾å°æ ç«å³æ³¨å
ã¾ãã¯ã¤ã³ã¹ãã¼ã« # gem install capistrano railsã¢ããªã±ã¼ã·ã§ã³ã«çµã¿è¾¼ãã§ã¿ã $ cap --apply-to ~/project/garakuta è¨å®ãã¡ã¤ã«ãçºã(LANå ã®è¨å®ãªã®ã§ãµã¼ãã¼åãªã©ã¯é©å½) $ emacs ~/project/garakuta/config/deploy.rb set :application, "garakuta" set :repository, "svn://vaio/var/svn/project/garakuta/trunk" role :web, "vaio" role :app, "vaio" role :db, "vaio", :primary => true set :deploy_to, "/home/garakuta/webapp" set :user, "garakuta" å ¬éç¨ãµã¼ãã¼ã
â» ãã®è³æã«ã¤ã㦠2006å¹´4æã®åå¼·ä¼è³æãCapistranoã®ãã¼ã¸ã§ã³ã¢ããï¼ç¾æç¹ã§ã¯1.3.1ã«ãªã£ã¦ã¾ããï¼ã«ããä»æ§å¤æ´ãªã©ã«åããã¦ã¡ãã£ã¨ä¿®æ£ãããã®ã§ãã 質çå¿çã®é¨åã¯å½æã®ã¾ã¾ãªã®ã§æåã®è³ªåãåã ããã§ãã Capistranoã£ã¦ä½ãªã®ã ãããã¤ãã¼ã« ãããã¤=é å åè : Capistrano: Automating Application Deployment ä¸è¨ã§è¨ãã¨è¤æ°ã®ãµã¼ãä¸ã§åæã«ä¸¦è¡ãã¦ã³ãã³ããå®è¡ã§ãããã¼ã«ã è¤æ°ã®ãµã¼ãã§åãã¦ãããµã¼ãã¹ã®ãããã¤ã楽ã«è¡ããã¨ãã§ããã Railsèµ·æºãªã®ã§Railsã«ç¹åããé¨åãããããã»ãã®ã¢ããªã±ã¼ã·ã§ã³ã§ã使ããã æã¯SwitchTowerã¨å¼ã°ãã¦ãããã¯ã¦ãªã§ã使ããã¦ãã ä½ãããã®ã è¤æ°ãµã¼ãã¸ã®ä½æ¥ãå¹çåãèªååã§ãã å®ç¾©æ¸ã¿ã®æ¨æºã¿ã¹ã¯ã«æ²¿ã£ãéç¨ããã
Please Sign In No account? Create new user.
18æ¥ã® Railsåå¼·ä¼ ã«è¡ã£ã¦ããã åå ååã¯4ã¤ã®ã»ãã·ã§ã³ã«åããããç§ã¯Capistranoã»ãã·ã§ã³ã®ãªã¼ãã¼ã«ãªã£ãã å æ¥ä¼ç¤¾ã§ãããã¤ããã¨ãã«ãã¹ãããããã¦ãã¾ã£ã¦ããããã¤ãã¼ã«ã®éè¦æ§ã身ã«æã¿ããããã§ä»ã¾ã§ã¯ããã»ã©ã¡ããã¨è§¦ã£ããã¨ã¯ãªãã£ãããã©ããã²ã¨ã¤Capistranoã触ã£ã¦ã¿ããã¨æã£ã¦ã»ãã·ã§ã³ãéããã Capistrano ã¯Rubyã§æ¸ããããããã¤ãã¼ã«ã§ãRakeããããã¤ä½æ¥åãã«å¼·åãããããªãã®ã ãåºæ¬ã¯Rakeãªã®ã§Rakeã¨ãMakeã¨ãAntã¨ãã使ã£ããã¨ãããã°æããªãã ããã©ã«ãã§ã¯Railsã¢ããªã±ã¼ã·ã§ã³ã®æ§æã«åãããè¨å®ã«ãªã£ã¦ããããã©ããè¨å®(ã¬ã·ãã¨å¼ã°ãã)ãå¤æ´ããã°ä»»æã®ã¢ããªã±ã¼ã·ã§ã³ã«é©ç¨å¯è½ã§ãããå®éã ã¯ã¦ãª ã§ã¯Perlã¢ããªã±ã¼ã·ã§ã³ã«é©ç¨ãã¦ãããããã次ã®æ¡ä»¶ãæºããç°å¢
Capistranoã¯Railsã¨é常ã«è¦ªåæ§é«ããã§ãããä»ã®è¨èªã§ã使ãã¾ãã ä¾ã¨ãã¦Ethnaã®ããã¸ã§ã¯ãã capistranize ãã¦ã¿ã¾ãã 1.Ethnaã®ããã¸ã§ã¯ãä½æ $ ethna.sh add-project test creating directory (/path/to/project/test) [y/n]: y 2.Railsç°å¢ã®é©ç¨ $ rails rails-tmp $ cp rails-tmp/Rakefile test $ cp -a rails-tmp/config test $ cp rails-tmp/db db $ cp -a rails-tmp/test test $ cp -a rails-tmp/lib/* test/lib $ cp rails-tmp/vendor test/vendorããã§Railsç°å¢ãåä½ããããã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}