2018-11-29 21:13:13 +00:00
# Argo CD UI
2018-04-17 23:49:02 +00:00
2020-02-26 22:18:41 +00:00
< img src = "https://github.com/argoproj/argo-cd/blob/master/ui/src/assets/images/argo.png?raw=true" alt = "Argo Image" width = "600" / >
2018-04-17 23:49:02 +00:00
Web UI for [Argo CD ](https://github.com/argoproj/argo-cd ).
2018-05-30 00:21:00 +00:00
## Getting started
2018-05-30 00:24:28 +00:00
1. Install [NodeJS ](https://nodejs.org/en/download/ ) and [Yarn ](https://yarnpkg.com ). On macOS with [Homebrew ](https://brew.sh/ ), running `brew install node yarn` will accomplish this.
2018-05-30 15:27:55 +00:00
2. Run `yarn install` to install local prerequisites.
2018-05-30 00:24:28 +00:00
3. Run `yarn start` to launch the webpack dev UI server.
4. Run `yarn build` to bundle static resources into the `./dist` directory.
2018-05-30 00:21:00 +00:00
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` .
2019-02-11 21:58:21 +00:00
## Pre-commit Checks
Make sure your code passes the lint checks:
2026-01-13 15:39:00 +00:00
```bash
2019-02-11 21:58:21 +00:00
yarn lint --fix
2024-05-08 15:30:58 +00:00
```
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 ](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint ) in VSCode.
`.vscode/settings.json`
2026-01-13 15:39:00 +00:00
2024-05-08 15:30:58 +00:00
```json
{
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"eslint.workingDirectories": [
{
"directory": "./ui",
"!cwd": false
}
],
2026-01-13 15:39:00 +00:00
"eslint.useFlatConfig": true
2024-05-08 15:30:58 +00:00
}
```