{"provider_url":"https://hatena.blog","author_name":"tomotaro1065","published":"2012-08-14 15:41:57","width":"100%","image_url":null,"author_url":"https://blog.hatena.ne.jp/tomotaro1065/","url":"https://tomotaro1065.hatenadiary.org/entry/20120814/1344926517","categories":[],"version":"1.0","description":"node.js+express+ejs\u3067Hello World\u3057\u3066Heroku\u3067\u52d5\u304b\u3057\u3066\u307f\u305f\u3002 \u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3 sudo npm install -g express@2.5.9 ejs express -t ejs node app.js \u21d2\u30a8\u30e9\u30fc\u767a\u751f Cannot find module 'express' npm install -D node app.js \u21d2http://localhost:3000/ \u306b\u30a2\u30af\u30bb\u30b9\u6210\u529f\uff01 vi app.js \u21d2\u30dd\u30fc\u30c8\u3092process.env.PORT\u304b\u3089\u53d6\u5f97\u3059\u308b\u3088\u3046\u306b\u5909\u66f4\u3002 vi package.json \u21d2node\u3068npm\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3002 \u3053\u308c\u3092\u2026","blog_url":"https://tomotaro1065.hatenadiary.org/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomotaro1065.hatenadiary.org%2Fentry%2F20120814%2F1344926517\" title=\"node.js+express+ejs\u3067Hello World on Heroku - tomotaro1065\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"tomotaro1065\u306e\u65e5\u8a18","title":"node.js+express+ejs\u3067Hello World on Heroku","height":"190","provider_name":"Hatena Blog"}