Server deployment stuff

This commit is contained in:
John Lyon-Smith
2018-03-19 15:04:10 -07:00
parent 59c11d791d
commit faf99108e9
12 changed files with 164 additions and 33 deletions

View File

@@ -3,6 +3,8 @@ import { ServerTool } from './ServerTool'
import pino from 'pino'
import * as pinoExpress from 'pino-pretty-express'
import path from 'path'
import fs from 'fs'
import config from 'config'
const serviceName = 'dar-server'
const isProduction = (process.env.NODE_ENV == 'production')