Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: de396d2e31
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.391 kb
#!/usr/bin/env node
var slides = require('../lib/slides'),
fs = require('fs'),
argv = require('optimist')
.default('config', './config.json')
.argv,
config = JSON.parse(fs.readFileSync(argv.config).toString());
var promise = slides.run(config);
promise.on('listen', function() {
console.log('Sever is running on %s:%d', config.host, config.port);
});
Jump to Line
Something went wrong with that request. Please try again.