{"id":627,"date":"2012-07-11T23:23:44","date_gmt":"2012-07-11T14:23:44","guid":{"rendered":"http:\/\/www.whoocus.com\/blog\/?p=627"},"modified":"2012-07-11T23:24:44","modified_gmt":"2012-07-11T14:24:44","slug":"heroku-%e5%88%a5%e3%81%aepc%e3%81%8b%e3%82%89%e3%81%ae%e7%92%b0%e5%a2%83%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/www.blowfish.co.jp\/?p=627","title":{"rendered":"heroku \u65b0\u898f\u958b\u767a\u74b0\u5883\u3067\u306e\u74b0\u5883\u69cb\u7bc9"},"content":{"rendered":"<p>heroku\u306b\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6301\u3063\u3066\u3001\u5225PC\u3078\u65b0\u898f\u306e\u958b\u767a\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u624b\u9806\u3002<br \/>\n\u5143\u3005\u3001Mac\u3067\u958b\u767a\u3092\u958b\u59cb\u3057\u3066\u3001\u5225\u30ed\u30fc\u30ab\u30ebPC(WindowsXP)\u306b\u3066\u74b0\u5883\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u51fa\u3066\u304d\u305f\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305a\u3001Heroku Toolbelt \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u4e0b\u8a18\u3092\u5b9f\u884c\u3002<\/p>\n<p>[bash]<br \/>\nC:\\works&gt;heroku login<br \/>\nEnter your Heroku credentials.<br \/>\nEmail: xxxx@whoocus.com<br \/>\nPassword (typing will be hidden):<br \/>\nAuthentication successful.<br \/>\n[\/bash]<\/p>\n<p>\u305d\u3057\u3066SSH\u30ad\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3002\u5f53\u7136\u304a\u521d\u306e\u74b0\u5883\u306a\u306e\u3067\u3001\u65b0\u898f\u306ePublic key\u3092\u767a\u884c\u3059\u308b\u3002<br \/>\n[bash]<br \/>\nC:\\works&gt;heroku keys:add<br \/>\nCould not find an existing public key.<br \/>\nWould you like to generate one? [Yn] Y<br \/>\nGenerating new SSH public key.<br \/>\nUploading SSH public key C:\/Documents and Settings\/xxxx\/.ssh\/id_rsa.pub&#8230; done<br \/>\n[\/bash]<\/p>\n<p>\u3059\u308b\u3068\u3001Windows\u306a\u306e\u3067\u3001\u30e6\u30fc\u30b6\u30d5\u30a9\u30eb\u30c0\u76f4\u4e0b(C:\\Documents and Settings\\xxxx\\.ssh)\u306b\u3001.ssh\u30d5\u30a9\u30eb\u30c0\u4e00\u5f0f\u304c\u4f5c\u6210\u3055\u308c\u308b\u3002<br \/>\n\u3053\u308c\u3067ssh\u8a8d\u8a3c\u3055\u308c\u308b\u3002\u306a\u3093\u3068\u7c21\u5358\u306a\u3053\u3068\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001git clone\u30b3\u30de\u30f3\u30c9\u306b\u3066\u3001\u30ed\u30fc\u30ab\u30ebPC\u74b0\u5883\u306b\u8907\u88fd\u3059\u308b\u3002<br \/>\n[bash]<br \/>\nC:\\works&gt;git clone git@heroku.com:xxxx.git AppName<br \/>\nCloning into &#8216;XXXXX&#8217;&#8230;<br \/>\nWarning: Permanently added the RSA host key for IP address &#8216;99.99.99.999&#8217; to the list of known hosts.<br \/>\nremote: Counting objects: 413, done.<br \/>\nremote: Compressing objects: 100% (306\/306), done.<br \/>\nremote: Total 413 (delta 140), reused 247 (delta 69)<br \/>\nReceiving objects: 100% (413\/413), 94.00 KiB | 14 KiB\/s, done.<br \/>\nResolving deltas: 100% (140\/140), done.<br \/>\n[\/bash]<\/p>\n<p>\u3053\u308c\u3067\u5b8c\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>heroku\u306b\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6301\u3063\u3066\u3001\u5225PC\u3078\u65b0\u898f\u306e\u958b\u767a\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u624b\u9806\u3002 \u5143\u3005\u3001Mac\u3067\u958b\u767a\u3092\u958b\u59cb\u3057\u3066\u3001\u5225\u30ed\u30fc\u30ab\u30ebPC(WindowsXP)\u306b\u3066\u74b0\u5883\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u51fa\u3066\u304d\u305f\u3002 \u3068\u308a\u3042\u3048\u305a\u3001Heroku Toolbelt \u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[24,23,14,4],"tags":[],"class_list":["post-627","post","type-post","status-publish","format-standard","hentry","category-git","category-heroku","category-ruby","category-tech"],"_links":{"self":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=627"}],"version-history":[{"count":2,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/627\/revisions"}],"predecessor-version":[{"id":629,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/627\/revisions\/629"}],"wp:attachment":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}