This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
tstatic/src/index.ts

11 lines
290 B
TypeScript
Raw Normal View History

2017-02-17 09:24:29 +00:00
import { docopt } from 'docopt';
import createServer from './server';
import getArgs from './cli';
2017-02-17 09:24:29 +00:00
console.log("Starting Server...")
2017-02-17 09:24:29 +00:00
const app = createServer(getArgs());
const server = app.listen(5000, function () {
console.log("Server started on port " + server.address().port);
});