@hmcts/dev-env
v0.0.31
Published
A development environment for HMCTS
Downloads
309
Maintainers
Keywords
Readme
CFT Dev Environment
This package will use Helm to deploy a development environment based on the Preview chart. It will automatically create a mirrord.json configuration to connect your local application to the deployed environment.
Prerequisites
Usage
npx @hmcts/dev-env
Run the command from your project root directory. The script will check for a Helm chart and Jenkinsfile.
To use a specific Preview template, run:
#e.g. npx @hmcts/dev-env --template charts/app/values.custom.template.yaml
npx @hmcts/dev-env --template <template>
To clean up the environment, run:
npx @hmcts/dev-env --delete
Troubleshooting
If you encounter an issue fetching the Helm dependencies, you may need to re-add the hmctspublic repository.
helm repo remove hmctspublic
helm repo add hmctspublic https://hmctspublic.azurecr.io/helm/v1/repo/
For help, message #rse-dev-tools on Slack.