{"id":170,"date":"2017-01-18T16:00:59","date_gmt":"2017-01-18T07:00:59","guid":{"rendered":"http:\/\/mp-s.co.jp\/news\/?p=170"},"modified":"2017-01-18T17:58:00","modified_gmt":"2017-01-18T08:58:00","slug":"%e3%80%90heroku%e3%80%91%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e2%91%a2","status":"publish","type":"post","link":"https:\/\/mp-s.co.jp\/news\/archives\/170","title":{"rendered":"\u3010Heroku\u3011\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u2462"},"content":{"rendered":"<p><a href=\"http:\/\/mp-s.co.jp\/news\/archives\/123\">Heroku\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3000\u305d\u306e\u2460<\/a>\u3000<a href=\"http:\/\/mp-s.co.jp\/news\/archives\/134\">\u305d\u306e\u2461<\/a>\u3000<a href=\"http:\/\/mp-s.co.jp\/news\/archives\/170\">\u305d\u306e\u2462<\/a><\/p>\n<hr \/>\n<h3>Heroku\u3078\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/h3>\n<p>\u30d1\u30bd\u30b3\u30f3\u304cWindows\u306e\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u3001heroku login \u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<blockquote>\n<p>heroku login \u306e\u30b5\u30f3\u30d7\u30eb\u4f8b\u3067\u3059\u3002<\/p>\n<\/blockquote>\n<blockquote>\n<pre class=\"prettyprint\">&gt;heroku login\r\nEmail: testuser@metalphonic.net\r\nPassword (typing will be hidden): \r\nLogin in as testuser@metalphonic.net<\/pre>\n<\/blockquote>\n<p><img decoding=\"async\" src=\"http:\/\/mp-s.co.jp\/news\/wp\/wp-content\/uploads\/2017\/01\/Heroku_Login01.png\" \/><\/p>\n<p>Heroku\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306b\u3001\u300cGit Bash\u300d\u3068\u3044\u3046\u30bf\u30fc\u30df\u30ca\u30eb\u304c\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3057\u305f\u306e\u3067\u3053\u3061\u3089\u3092\u5229\u7528\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u304c\u8d77\u52d5\u3057\u305f\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/mp-s.co.jp\/news\/wp\/wp-content\/uploads\/2017\/01\/Heroku_Login02.png\" \/>\u81ea\u5206\u306e\u30d1\u30bd\u30b3\u30f3\u5185\u306b\u3001\u4f5c\u696d\u30d5\u30a9\u30eb\u30c0\u3092\u6c7a\u3081\u3066\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3000D:\\NowDevelop\\Heroku\u3000\u3068\u3044\u3046\u4f5c\u696d\u30d5\u30a9\u30eb\u30c0\u3092\u7528\u610f\u3057\u3066\u3001\u4e0b\u306e\uff12\u3064\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<blockquote>\n<ul>\n<li>composer.json\u3000\u3000\u203b\u3053\u3061\u3089\u306f\u7a7a\u30d5\u30a1\u30a4\u30eb<\/li>\n<li>index.php<\/li>\n<\/ul>\n<\/blockquote>\n<p>\u30fbcomposer.json\u3000\u306b\u3064\u3044\u3066\u306f\u3001\u5b58\u5728\u3059\u308c\u3070\u3088\u3044\u3088\u3046\u3067\u3059\u306e\u3067\u7a7a\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002index.php\u3000\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n<blockquote>\n<p>\u3000&lt;?php<br \/>echo &#8220;Hello , Heroku!!&#8221;;<br \/>?&gt;<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<h3>Git\u3092\u521d\u671f\u5316\u3059\u308b<\/h3>\n<blockquote>\n<p><strong><span style=\"color: #ff0000;\">$ git init<\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Initialized empty Git repository in D:\/NowDevelop\/Heroku\/.git\/<\/span><\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u3059\u308b\u3068\u3001\u5229\u7528\u4e2d\u306e\u30e6\u30fc\u30b6\u30fc\u3068\u30d1\u30b9\u306e\u5f8c\u306b\u00a0(master)\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<blockquote>\n<p><strong>XXXX@DESKTOP MINGW64 \/d\/NowDevelop\/Heroku (master)<\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p><strong><span style=\"color: #ff0000;\">$ git add .<\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p><span style=\"font-weight: 400;\">warning: LF will be replaced by CRLF in index.php.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The file will have its original line endings in your working directory.<\/span><\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>Git\u304b\u3089\u30bd\u30fc\u30b9\u3092\u30b3\u30df\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<blockquote>\n<p><strong><span style=\"color: #ff0000;\">$ git commit -m &#8220;hello heroku commit 01&#8221;<\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p><span style=\"font-weight: 400;\">[master (root-commit) 4e79fc6] hello heroku commit 01<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> Committer: XXXXXXX\u3000<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your name and email address were configured automatically based<\/span><\/p>\n<p><span style=\"font-weight: 400;\">on your username and hostname.\u3000\u3000\uff08\u7701\u7565\uff09<\/span><\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<h3>heroku\u4e0a\u306b\u65b0\u898f\u30a2\u30d7\u30ea\u3092\u4f5c\u6210<\/h3>\n<blockquote>\n<p><span style=\"color: #ff0000;\"><strong>$ heroku create<\/strong><\/span><\/p>\n<\/blockquote>\n<blockquote>\n<p><span style=\"font-weight: 400;\">Creating app&#8230; done, evening-fjord-20035<\/span><\/p>\n<\/blockquote>\n<blockquote>\n<pre><span style=\"color: #ff0000;\"><strong>$ git push heroku master<br \/><br \/><\/strong><\/span><br \/><span style=\"font-weight: 400;\">Counting objects: 4, done.<\/span><br \/><br \/><span style=\"font-weight: 400;\">Delta compression using up to 4 threads.<\/span><br \/><br \/><span style=\"font-weight: 400;\">Compressing objects: 100% (2\/2), done.<\/span><br \/><br \/><span style=\"font-weight: 400;\">Writing objects: 100% (4\/4), 291 bytes | 0 bytes\/s, done.<\/span><br \/><br \/><span style=\"font-weight: 400;\">Total 4 (delta 0), reused 0 (delta 0)<\/span><br \/><br \/><span style=\"font-weight: 400;\">remote: Compressing source files... done.<\/span><br \/><br \/><span style=\"font-weight: 400;\">remote: Building source:<br \/><br \/><\/span>\uff08\u7701\u7565\uff09<br \/><br \/><span style=\"font-weight: 400;\">remote: Verifying deploy... done.<\/span><br \/><br \/><span style=\"font-weight: 400;\">To https:\/\/git.heroku.com\/evening-fjord-20035.git<\/span><br \/><br \/><span style=\"font-weight: 400;\"> * [new branch] \u00a0\u00a0\u00a0\u00a0\u00a0master -&gt; master<\/span><\/pre>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u6210\u529f\u3059\u308b\u3068\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304b\u3089\u3000\u300cHello , Heroku!!\u300d\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078<\/p>\n<p>\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<blockquote>\n<p><span style=\"font-weight: 400;\">$ heroku open<\/span><\/p>\n<\/blockquote>\n<p>\u4e0b\u306eURL\u304cHeroku\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/evening-fjord-20035.herokuapp.com\/\">https:\/\/evening-fjord-20035.herokuapp.com\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u4ee5\u4e0a\u3067\u3001Heroku\u74b0\u5883\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Heroku\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3000\u305d\u306e\u2460\u3000\u305d\u306e\u2461\u3000\u305d\u306e\u2462 Heroku\u3078\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002 \u30d1\u30bd\u30b3\u30f3\u304cWindows\u306e\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u3001heroku login \u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002 heroku login \u306e\u30b5 &hellip; <a href=\"https:\/\/mp-s.co.jp\/news\/archives\/170\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010Heroku\u3011\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u2462<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":164,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,20,2],"tags":[39],"_links":{"self":[{"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/posts\/170"}],"collection":[{"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/comments?post=170"}],"version-history":[{"count":11,"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/posts\/170\/revisions"}],"predecessor-version":[{"id":193,"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/posts\/170\/revisions\/193"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/media\/164"}],"wp:attachment":[{"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/categories?post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mp-s.co.jp\/news\/wp-json\/wp\/v2\/tags?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}