🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@hmcts/dev-env

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hmcts/dev-env

A development environment for HMCTS

latest
npmnpm
Version
0.0.31
Version published
Weekly downloads
2
-96.77%
Maintainers
0
Weekly downloads
 
Created
Source

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

  • Helm
  • AZ CLI
  • kubectl
  • Node.js

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.

FAQs

Package last updated on 15 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts