-
Notifications
You must be signed in to change notification settings - Fork 1
/
cli.js
27 lines (20 loc) · 664 Bytes
/
cli.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Cbe / cli.js
* command line interface for Cbe
* (c) 2015 David (daXXog) Volm ><> + + + <><
* Released under Apache License, Version 2.0:
* http://www.apache.org/licenses/LICENSE-2.0.html
*/
var express = require('express'),
app = express(),
CBE = require('./cbe.js'),
settings = require('./settings.js');
//cbe = new CBE(require('./settings.js'));
console.log(settings);
new CBE(settings);
//app.use('', cbe.app);
// listen on c9
// https://cbe-daxxog.c9.io/
//console.log([process.env.IP, process.env.PORT].join(':'));
//console.log('https://cbe-daxxog.c9.io/');
//app.listen(process.env.PORT, process.env.IP);
//app.listen(7777);