Skip to content

Commit c381056

Browse files
committed
added process.json file to bootstrap continuous deployment
1 parent 51bbc9b commit c381056

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ var http = require('http');
22

33
var server = http.createServer(function(request, response) {
44

5-
console.log("Handling Request");
6-
75
response.writeHead(200, {"Content-Type": "text/plain"});
8-
response.end("Hello World!");
6+
response.end("Hello Azure!");
97

108
});
119

process.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name" : "worker",
3+
"script" : "index.js",
4+
"instances" : 1,
5+
"merge_logs" : true,
6+
"log_date_format" : "YYYY-MM-DD HH:mm Z",
7+
"watch": ["index.js"],
8+
"watch_options": {
9+
"followSymlinks": true,
10+
"usePolling" : true,
11+
"interval" : 5
12+
}
13+
}

0 commit comments

Comments
 (0)