Skip to content

Instantly share code, notes, and snippets.

@LightSpeedC
Last active August 7, 2016 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LightSpeedC/b9f76cc5f7091b489f5da03f9c753f7e to your computer and use it in GitHub Desktop.
Save LightSpeedC/b9f76cc5f7091b489f5da03f9c753f7e to your computer and use it in GitHub Desktop.
WebだけでGitHubからHerokuに空っぽのWebサービスを立ち上げてみた(Node.js) ref: http://qiita.com/LightSpeedC/items/2751b705068449ab37ed
require('http').createServer((req, res) => res.end('hello')).listen(process.env.PORT || 3000);
{
"name": "lightspeedc-qiita-heroku1",
"version": "0.0.0",
"description": "lightspeedc-qiita-heroku1",
"main": "index.js",
"engines": {
"node": "6"
},
"scripts": {
"start": "node index",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "LightSpeedC/lightspeedc-qiita-heroku1"
},
"keywords": [
"heroku"
],
"author": "LightSpeedC",
"license": "MIT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment