You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
ã¯ããã« ååã¯ãFacebookã«APIãéãã¦æ稿ããæ¹æ³ãç´¹ä»ãã¾ãããFacebookã®APIã®å¼ã³åºãæ¹ã権éã«ã¤ãã¦ãç解ã§ããã¨æãã¾ããä»åã¯ãHerokuãå©ç¨ããä¸ã§ããå©ç¨ããã便å©ãªæ©è½ãç´¹ä»ãã¾ããä»åç´¹ä»ããæ©è½ã¯ããã¹ã¦ç¡æã§æä¾ããã¦ãã¾ãã ã¹ãã¼ã¸ã³ã°ç°å¢ ä¸è¬çã«ãµã¼ãã¹ãéå¶ããã¨ãã¯ãæ¬çªç°å¢ã¨åæã«ã¹ãã¼ã¸ã³ã°ç°å¢ãç¨æããã®ã§ã¯ãªãã§ããããï¼ Herokuã§ã¯ãåºæ¬æ©è½ãç¡æã§å©ç¨ã§ãããã¨ãããã¹ãã¼ã¸ã³ã°ç°å¢ãä½ã³ã¹ãã§ç¨æã§ãã¾ãã ã¹ãã¼ã¸ã³ã°ç°å¢ãç¨æããã«ã¯ã以ä¸ã®ä½æ¥ãå¿ è¦ã§ãã Herokuã«ã¢ããªã±ã¼ã·ã§ã³ã追å ãã $ heroku create manga-dojo-staging Herokuã®ã¢ããªã±ã¼ã·ã§ã³ã®ã¬ãã¸ããªããã¼ã«ã«ã®ã¬ãã¸ããªã«ãªã¢ã¼ãã¨ãã¦è¿½å ãã$ git remote add staging g
ã¢ããªã±ã¼ã·ã§ã³ãæºåãã ä»åä½æããã®ã¯Java Servletã¢ããªã±ã¼ã·ã§ã³ã§ããServletã³ã³ããã«ã¯Herokuã®ä¸ã®äººãä½æãããWebapp Runnerãã使ç¨ãã¾ãã Webapp Runnerã¯å é¨çã«Tomcatãèµ·åããã ãã®ã©ã³ãã£ã¼ã¢ããªã±ã¼ã·ã§ã³ã§ããHerokuä¸ã§åä½ããããã¨ãåæã¨ãã¦ä½æããã¦ãããSessionã®Memcachedï¼ã¾ãã¯Redisï¼ã¸ã®ç½®ãæããç°¡åã«è¡ããããã«ãªã£ã¦ãã¾ãã ç´ ã®Tomcatããã®ã¾ã¾ä½¿ç¨ãããã¨ãã§ããã®ã§ãããHerokuä¸ã§Servletã¢ããªã±ã¼ã·ã§ã³ãåä½ãããå ´åãSessionã®Memcachedï¼ã¾ãã¯Redisï¼ã¸ã®ç½®ãæãã¯çµ¶å¯¾ã«å¿ è¦ãªã®ã§Webapp Runnerã使ç¨ãããã¨ããå§ããã¾ã[1]ã [1] Sessionç½®ãæãã®å ·ä½çãªæ¹æ³ã¨ããããå¿ è¦ãªçç±ã¯ä»å¾ã®é£è¼ä¸ã§è©³ç´°
SaaSã®CIã¨è¨ãã°Travis CIãCircle CIã¨ãã£ããµã¼ãã¹ãæåã§ããããããã«ãã¦ããã©ã¤ãã¼ããªãã¸ããªã使ãå ´åã¯ææãªã®ã§ãããããããªããããå売ã ããããã§ãCIå ¥ããããªãã ãããªä¸ãGithubã ãããBitbucketã ããããã©ã¤ãã¼ããªãã¸ããªã§ãç¡æã§ä½¿ã£ã¦ãããï¼ã¨ããβæéä¸ã®CIãWerckerãåã®å¨è¾ºã§è©±é¡ã«ãªã£ã¦ããã®ã§ã触ã£ã¦ã¿ã¾ãããç»é¢ãã¹ã²ã¼ä½¿ããããä¸ã«ããããã©ããããªããããã¯ã²ãã£ã¨ãã¦ã²ãã£ã¨ããããããªãã®ï¼ã¨ããæå¾ ãè¾¼ãã¦ãrails newããRailsã¢ããªãHerokuã«ãããã¤ããã¾ãã®ãã¥ã¼ããªã¢ã«ãä½ã£ã¦ã¿ã¾ãããã¿ãªããããã®è¨äºãåèã«ããã²ä½¿ã£ã¦ã¿ã¦ãã ããã ãã®è¨äºã®ã´ã¼ã« Githubã«pushãããèªåçã«Werckerä¸ã§RSpecã®ãã¹ããåãã㨠Werckerã§ã®ãã¹ãã«æåã
140æåã§æ¸ããããªãã£ãã®ã§ããã°ã«æ®´ãæ¸ãã Heroku ã®ã¢ããªã±ã¼ã·ã§ã³ã人ã«æ¸¡ã æ¨æ¥ããnaoyaãããä½ã£ã¦ãiOSã¢ããªã®ããã¯ã¨ã³ããµã¼ãã¼ã«ç¸ä¹ãããã¦ããããªãããã¨ãã話ãããã ãããèªåã§ãåããããªAndroidã¢ããªãä½ã£ã¦ãããã©ããµã¼ãã¼ãµã¤ãã¯ä½ã£ã¦ãªãããã¨ãããã¨ãããã 対ãã¦ãgithubã«ã³ã¼ãããããgit cloneãã¦heroku pushããã°åãããèªå㧠heroku ã«ãããã¤ãã¦ããã¨å¿ãããç¸ä¹ããã¦ããã£ã¦ãããã£ãã®ã ãã©ããã¡ãã§ã³ã¼ããæ¸ãæãããã¡ã³ãããã¨ãã«å æ¹ã®ã¢ããªãåæ¢ãããã¨ãèããã¨åãã³ã¼ããã¼ã¹ã§ãµã¼ãã¼ã¯èªåã§ç«ã¦ã¦ãããæ¹ãä½ãã¨è¯ãã 対象ã«ãªã£ãã½ããã¦ã§ã¢ã¯ Heroku ã§åããã¦ããã®ã§ãHeroku Ready ãªå½¢ãã¤ã¾ããå¿ è¦ãªå¤é¨ããã±ã¼ã¸ã®ä¸è¦§ããµã¼ãã¼ã®èµ·åæé ãªããã¯
åæ: GitHub flow ã使ã£ã¦ãã¦CIãµã¼ãã¼ã¯Jenkins æè¿ã¡ãã£ã¨éçºããã¼ã®æ¹åããã¦ãã¨ã¦ãããæ©è½ãã¦ã¦æºè¶³ãã¦ããã®ã§ç´¹ä»ãã¦ã¿ãã ãã®æ¹åãããåã®æ©ã¿: pull-requestã§ã³ã¼ãã¬ãã¥ã¼ã¯ã§ããã®ã ãã©ãcssã¨ãjavascriptãªã©ã®è¦ãç®ãåä½ã®å¤æ´ã£ã¦ã³ã¼ãã ãã ã¨ãããã«ãããã¬ãã¥ã¼ãã人ãåèªãã¼ã«ã«ç°å¢ã§å®è¡ããã®ãã ããã ã³ã¼ããèªã¾ãªããã¶ã¤ãã¼ã¨ããããã¯ããªã¼ãã¼ã¨ãã®äººããpull-requestã®ã¬ãã¥ã¼ããã»ã¹ã«ç°¡åã«åå ã§ããªã(ééçºè å ¨å¡ã®ã¨ããã§ãã¼ã«ã«ç°å¢è¨å®ããã®ã¯ã ãããã)ã ã³ã¼ãçã«okã«è¦ãã¦masterã«mergeå¾ãä½ãåé¡(ç¹ã«ä»æ§çãªåé¡ãããã¶ã¤ã³çãªåé¡)ãçºçããå ´åããä¿®æ£branchãä½ã£ã¦pull-requestãã¨ããããã¼ãå度åããªãã¨ãããªããæåã®pull-req
Winã¦ã¼ã¶ãRailsã¢ããªãããããå ¬éãããã¨æã£ãå ´å Windowsã§å¦ç¿ãéå§ããã®ã¯ä¸å¯è½ãªã®ã§Linuxãããã ã§ãWindowsã§é²ãããã¨ãã¦msysGitããããããããçµå±åæ¥ç¡é§ã«ãã ãªããgemãææ°ãããªãã¨æããã gemãåç´ã«ä½¿ã£ã¦ãå¾ããå°ãã®ã§rvmãrbenvãå¿ è¦ã使ãæ¹è¦ããªãã¨ãããªã ãã£ã¨Rails3.2å°å ¥ãjavascriptã¨ã³ã¸ã³ãå ¥ã£ã¦ãªãã®ã§èµ·åããªã ãã£ã¨èµ·å HTMLæ¸ãã¦ãã®ã¯æ å¼±ã ã => hamlãè¦ãã jsæ¸ãã¦ãã®ã¯æ å¼±ã ã => coffee scriptãè¦ãã cssæ¸ãã¦ãã®ã¯æ å¼±ã ã => scssãè¦ãã ãã¹ãæ¸ãã¦ãªãã³ã¼ãã¯ã¬ã¬ã·ã¼ã³ã¼ãã£ã¦ãããã ããããªãã®ã§Rspecããã => Rspecè¦ãã ã¦ããããã¹ãã ãã§ã¯ããããªãã¨ãããcapybaraãããã => capyb
Railsã§ã¢ããªãä½ã£ããå ¬éããããªãã®ã人æ ã§ãããã ã ãã©ãå®ããã¹ãã£ã³ã°ãµã¼ãã¨ãã ã¨ã使ããç°å¢ãéããã¦ããããã»ããã¢ãããé¢åã ã£ããã»ã»ã»å¿ æ»ããã¦ã»ããã¢ãããã¦ããæ¬æ°ã§éç¨ããã¨ãªãã¨ããããªç°å¢ã ã¨ä¸å®ã ããã ãã»ã»ã»ãã¨ãã£ã¦ãAmazonEC2ã§éç¨ããã ãã®æ°åãããªããGAE/Jã使ã£ã¦ãJRubyã£ã¦ã®ããªãã»ã»ã» ç§ããããªæãã§ãããããããªæã«ãmat_akiã«ãHerokuï¼ãã¼ãªã¼ã¯ã¼ã¨èªããããï¼ãæãã¦ãããã¾ããã å®ã¯ãHerokuã£ã¦ãããã¶ãæã«è©±é¡ã«ãªã£ã¦ãç¥ã£ã¦ãããã§ããããã®æã¯ããWebãã©ã¦ã¶ã§Railsã¢ããªãéçºã§ããããã¿ãããªæãã ã£ããã§ããããããã ã¨Emacsã§è¯ãããã¨æã£ã¦ã¹ã«ã¼ãã¦ãããã§ããã»ã»ã»ã©ãããããµã¼ãã¹ã®å®ç¾©ï¼å 容ï¼ãå¤ã£ãããã§ãã ä»ã¾ã§ã®Webãã©ã¦ã¶Railséçºç°å¢ã¯ãâ
_ Windowsã§æ¥½åã«gitã使ãæ¹æ³ (2012/3/4注ï¼ãã®ã¨ã³ããªã¼ã¯æ£ç¢ºã«ã¯ããWindowsã§æ¥½åãã¤ã¯ãªã¼ã³ã«gitãã¤ã³ã¹ãã¼ã«ããæ¹æ³ãã§ãã楽åãªä½¿ãæ¹ã«ã¤ãã¦ã¯ãããã¶ã¤ãã¼ã®ããã®gitããèªãã¨è¯ãã§ãããï¼ ã¾ã ãã¹ã¦ã®ã³ãã³ãã試ããããã§ã¯ãªããã©ã次ã®ããã«ããã°ããããæ°ã¯ãªãã¯ã§gitã使ããããã«ãªããããããWindowsç°å¢ã®æ±æãç®ã«è¦ããéãã¯ç¡ãã 1) Heroku Toolbelt for Windowsããã¦ã³ãã¼ãããã 2) ã¤ã³ã¹ãã¼ã«ããããã®æãæ¢å®ã®ã¤ã³ã¹ãã¼ã«å ã¯c:\program files\Herokuã«ãªã£ã¦ããããå½ç¶ããã®ã¾ã¾ã«ãã¦ãããã¨ã 3) ã¤ã³ã¹ãã¼ã«ãå®äºãããããã¹ã¿ã¼ãã¡ãã¥ã¼ãï¼ããã¹ã¦ã®ããã°ã©ã ãï¼ãRuby 1.9.2-p290ãï¼ãã®ãã©ã«ãã¯ãããããã¼ã¸ã§ã³ã¢ããã«ãã£ã¦å¤ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}