flocore/bin/flocored
2018-01-15 16:27:33 -08:00

14 lines
400 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict';
if (parseInt(process.version.split('.')[0].slice(1)) < 8) {
throw new Error('Flocore requires Node version 8 or higher.');
}
var path = require('path');
var flocored = require('flocore-node/lib/cli/flocored');
var servicesPath = path.resolve(__dirname, '../');
var additionalServices = ['insight-api', 'insight-ui'];
flocored(servicesPath, additionalServices);