Install Yeoman
npm install -g yobash npm install -g generator-ibm-cloud-enablement
Following command line arguments are supported
--bluemix {stringified-json}- used by Scaffolder to supply project information frompman. This will be referred asprojectConfigin this document. You can also supply a local file containing compatible JSON object by using--bluemix file:path/to/file.jsonor pass the JSON in the CLI like--bluemix "{\"backendPlatform\":\"NODE\"}". You will need at least a backendPlatform to run it locally.--storages {stringified-array}- used to add storage deployment to helm charts--isDeployableContainer- if true addcontainertodeploy-targetincli-config.yaml
Clone this repository and link it via npm
git clone https://github.com/ibm-developer/generator-ibm-cloud-enablement
cd generator-ibm-cloud-enablement
npm linkIn a separate directory invoke the generator via
yo ibm-cloud-enablement In order to publish changes, you will need to fork the repository or ask to join the ibm-developer org and branch off the development branch.
Once you are finished with your changes, run npm test to make sure all tests pass.
Do a pull request against development, make sure the build passes. A team member will review and merge your pull request.
Once merged to development, the version will be auto-incremented.
Do a pull request against master, once that PR is reviewed and merged, a new version will be published.