#!/usr/bin/env node

// Require settings first, for validation
require("../lib/settings/");

var dotenv = require("dotenv").config({silent: true}),
    logger = require("../lib/logger/"),
    server = require("../server/");

var port = +process.argv[2] || 8888;

server.listen(port);

logger.log("Listening on " + port);
