import { readFileSync } from "fs";
|
|
import Application from "./Application";
|
|
|
|
/**
|
|
* Load the application key
|
|
*/
|
|
let appKey = readFileSync(<string>process.env["APP_KEY_FILE"]).toString();
|
|
|
|
/**
|
|
* Create a new application instance
|
|
*/
|
|
let app = new Application(appKey);
|
|
|
|
/**
|
|
* Start the application
|
|
*/
|
|
app.start();
|