9 lines
286 B
Plaintext
9 lines
286 B
Plaintext
|
#!/usr/bin/env node
|
||
|
var debug = require("debug")("OnlineEditorsExampleNodeJS");
|
||
|
var app = require("../app");
|
||
|
|
||
|
app.set("port", process.env.PORT || 3000);
|
||
|
|
||
|
var server = app.listen(app.get("port"), function() {
|
||
|
debug("Express server listening on port " + server.address().port);
|
||
|
});
|