mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
Update UI_NEXT README
also cleanup some small things
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user