12 lines
384 B
JavaScript
Executable File
12 lines
384 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
if (parseInt(process.version.split('.')[0].slice(1)) < 8) {
|
|
throw new Error('Flocore requires Node version 8 or higher.');
|
|
}
|
|
|
|
var flocore = require('flocore-node/lib/cli/flocore');
|
|
var path = require('path');
|
|
var servicesPath = path.resolve(__dirname, '../');
|
|
var additionalServices = ['flosight-api', 'flosight-ui'];
|
|
flocore(servicesPath, additionalServices);
|