Update UI_NEXT README

also cleanup some small things
This commit is contained in:
Hao Liu
2023-03-20 12:46:50 -04:00
parent cd6cb3352e
commit 5bd00adb59
3 changed files with 9 additions and 8 deletions

1
.gitignore vendored
View File

@@ -157,7 +157,6 @@ use_dev_supervisor.txt
*.unison.tmp *.unison.tmp
*.# *.#
/awx/ui/.ui-built /awx/ui/.ui-built
/awx/ui_next/.ui-built
/Dockerfile /Dockerfile
/_build/ /_build/
/_build_kube_dev/ /_build_kube_dev/

View File

@@ -1,8 +1,8 @@
## UI_NEXT_DIR: Relative path to the directory containing this Makefile ## UI_NEXT_DIR: Relative path to the directory containing this Makefile
UI_NEXT_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) UI_NEXT_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
# ## Path to your local clone of the UI_NEXT repo ## Path to your local clone of the UI_NEXT repo
# # NOTE: you will not be able to build within the docker-compose development environment if you use this option # NOTE: you will not be able to build within the docker-compose development environment if you use this option
UI_NEXT_LOCAL ?= UI_NEXT_LOCAL ?=
# Git repo and branch to the UI_NEXT repo # Git repo and branch to the UI_NEXT repo

View File

@@ -2,25 +2,27 @@
## Set src of the ui_next repo ## Set src of the ui_next repo
### via GIT ### Via GIT
```bash ```bash
export UI_NEXT_GIT_BRANCH_REPO=https://<git repo> export UI_NEXT_GIT_REPO=https://<git repo>
``` ```
or or
```bash ```bash
export UI_NEXT_GIT_BRANCH_REPO=git@<git repo> export UI_NEXT_GIT_REPO=git@<git repo>
``` ```
optionally set branch (default is main) optionally set branch (default is main)
```bash ```bash
export UI_NEXT_GIT_BRANCH_BRANCH=main export UI_NEXT_GIT_BRANCH=main
``` ```
### via symlink to existing clone ### Via symlink to existing clone
NOTE: UI_NEXT_LOCAL have higher precedence than UI_NEXT_GIT_REPO, if UI_NEXT_LOCAL is set, UI_NEXT_GIT_REPO will be ignored.
```bash ```bash
export UI_NEXT_LOCAL = /path/to/your/ui_next export UI_NEXT_LOCAL = /path/to/your/ui_next