2015-10-15 17:09:28 -07:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
2017-08-30 15:41:33 -07:00
|
|
|
if (parseInt(process.version.split('.')[0].slice(1)) < 8) {
|
|
|
|
throw new Error('Bitcore requires Node version 8 or higher.');
|
|
|
|
}
|
|
|
|
|
2015-10-19 15:02:23 -07:00
|
|
|
var bitcore = require('bitcore-node/lib/cli/bitcore');
|
|
|
|
var path = require('path');
|
|
|
|
var servicesPath = path.resolve(__dirname, '../');
|
|
|
|
var additionalServices = ['insight-api', 'insight-ui'];
|
|
|
|
bitcore(servicesPath, additionalServices);
|