Commit Graph

19 Commits

Author SHA1 Message Date
Braydon Fuller 92382d69cc Add --testnet option to create command. 2015-10-21 15:28:28 -04:00
Braydon Fuller 95bd5913b8 Clear warnings with bitcore create command. 2015-10-20 16:48:51 -04:00
Braydon Fuller e046f7294e Changes to be able to run with only a configuration file.
- Adds parameter to cli methods to be able to specify the location of services modules. This is useful for packages that wrap bitcore-node to be able to pass along a node_modules directory with services.
- Adds another parameter for including additional services in the default settings.
- Will use the `process.env.HOME + '/.bitcore` as the default configuration location.
- There are now two `getDefaultConfig`, one that will instatiate a `~/.bitcore` directory with a default if it doesn't exist, and `getBaseDefaultConfig` that will return a basic configuration without additional services enabled.
- Changes logic to use the global install if a local node_modules version is not available, this would previously assume that it was a local install because of the existence of a configuration file.
2015-10-20 12:33:53 -04:00
Rob Riddle e9290d3cdc Use bitcore-lib in node package creation 2015-10-19 15:43:51 +03:00
Braydon Fuller 95b5bfbfcb Fix library reference. 2015-10-18 16:28:24 -04:00
Braydon Fuller 58894bc4b2 Expose cli methods. 2015-10-18 16:20:51 -04:00
Braydon Fuller 1dec93edd4 bitcore -> bitcore-lib 2015-10-17 00:56:29 -04:00
Patrick Nagurny 8b0b401d52 inherit https options from node 2015-09-10 11:08:48 -04:00
Patrick Nagurny 7ac429fbd2 remove name field from node 2015-09-03 16:59:43 -04:00
Patrick Nagurny da6b6e3622 more changes for services 2015-09-03 16:07:35 -04:00
Braydon Fuller 7551f487f8 Rename modules to services. 2015-08-31 11:31:28 -04:00
Braydon Fuller 7e174fd0cd Handle exit codes from npm install with the create command. 2015-08-25 13:15:30 -04:00
Braydon Fuller 348598747b Include more options and fallback to default config with start command 2015-08-24 18:57:50 -04:00
Braydon Fuller 6c7501b45f Include script env and include a build version. 2015-08-24 18:51:07 -04:00
Braydon Fuller 69056db529 Move start to scaffold start and pass the bitcore-node configuration. 2015-08-24 18:51:07 -04:00
Braydon Fuller 0b4af2757b Implement function to find configuration in the current path. 2015-08-24 18:51:07 -04:00
Braydon Fuller 67a2035365 Run `npm install` if the node is created locally. 2015-08-24 18:51:07 -04:00
Braydon Fuller 399d379ff5 More tests for config creation. 2015-08-24 18:51:07 -04:00
Braydon Fuller 00e4eac14a Layout test cases and files for cli commands. 2015-08-24 18:51:07 -04:00