-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun.js
More file actions
23 lines (21 loc) · 814 Bytes
/
run.js
File metadata and controls
23 lines (21 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"use strict";
var productionMode = (process.env.DEVELOPMENT!=='undefined');
console.log("mode is ",process.env.DEVELOPMENT,productionMode);
require("./grid").run({
"developmentPort":8000,
"port":443,
"secret": "c821a09ebf01e090a46b6bbe8b21bcb36eb5b432265a51a76739c20472908989",
"salt": "5eWIYXeepr0Gvy7wwPKPTQ0aW+wIjbRjjCCLfNRo2AI=",
'allowDestroy': true,
'allowDrop': true,
'productionMode':productionMode,
'mongoURI':'mongodb://localhost:27017/grid',
'push_dev_key':"./push_development_ssl/key.pem",
'push_dev_cert':"./push_development_ssl/cert.pem",
'ca':'./ssl/ca.ca-bundle',
"key":"./ssl/server.key",
"cert":"./ssl/server.crt",
'push_key':"./push_production_ssl/key.pem",
'push_cert':"./push_production_ssl/cert.pem",
'push_ca':"./push_production_ssl/entrust_2048_ca.cer"
});