mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
Signed-off-by: pbhatnagar-oss <pbhatifiwork@gmail.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Argo CD UI
Web UI for Argo CD.
Getting started
- Install NodeJS and Yarn. On macOS with Homebrew, running
brew install node yarnwill accomplish this. - Run
yarn installto install local prerequisites. - Run
yarn startto launch the webpack dev UI server. - Run
yarn buildto bundle static resources into the./distdirectory.
To build a Docker image, run IMAGE_NAMESPACE=yourimagerepo IMAGE_TAG=latest yarn docker.
To do the same and push to a Docker registry, run IMAGE_NAMESPACE=yourimagerepo IMAGE_TAG=latest DOCKER_PUSH=true yarn docker.
Pre-commit Checks
Make sure your code passes the lint checks:
yarn lint --fix
If you are using VSCode, add this configuration to .vscode/settings.json in the root of this repository to identify and fix lint issues automatically before you save file.
Install Eslint Extension in VSCode.
.vscode/settings.json
{
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"eslint.workingDirectories": [
{
"directory": "./ui",
"!cwd": false
}
],
"eslint.experimental.useFlatConfig": true
}