Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This big PR changes bootstrap in 2 ways.
The new top-level readme explains better.
Network CLI
To try this new CLI you can check out this branch and build as instructed in the readme.
Alternatively, I would be keeping "alpha" npm packages while testing the new packages and Lerna deployment.
And follow the instructions...
At the end of the wizard, you will have your network and nodes configured locally ready to be deployed in the cloud provider you desire. This PR doesn't include node deployment as there could be a lot of options. Atm, the user needs to define how to deploy (terraform, bash scripts, ansible scripts, etc). In the last step, the user would need to do is to push the node's folders into each VPS box and ssh a "symbol-bootstrap start".
Bootstrap changes
There has been a number of upgrades to bootstrap. They are not breaking change for mainnet and testnet nodes, only for new "bootstrap" private networks:
custom preset cached on target
--preset bootstrap is not the default anymore.
Moved assemblies to own common folder.
Improved configuration testing
Renamed bootstrap preset for dualCurrency. Added singleCurrency preset.
Preset and assemblies can mix and match.
User can now provide a custom network and assembly preset.
Improved how balances can be provided on nemesis block
Removed node-forge and sshpk
Removed unused certificate files after generating
Removed unused genesis state files after generating
Nemesis seed is shared across the different nodes avoiding duplicated files.
Improved unit testing
Wizard allows custom networks
Upgraded github nemtech to symbol links
Fixes Single/Double currency bootstrap preset #60
Fixes Private Explorer references Public Testnet #245
Fixes Support for private nodes on existing networks #80
Fixes Split Bootstrap into "core/lib" and "cli" artifacts #252
The new bootstrap version starts from 1.1.0, network version would start from 0.0.1 (until is stable enough to bump the major version)
TODOs:
Related: