14 lines
402 B
JavaScript
Executable File
14 lines
402 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 = ['flosight-api', 'flosight-ui'];
|
|
flocored(servicesPath, additionalServices);
|