More readme and makefile updates

* Set log levels for build commands
* Add locale build dirs to cleanup commands
* Move container dev environment build section closer to top of readme
This commit is contained in:
Jake McDermott
2020-12-14 08:45:05 -05:00
parent 4be9008821
commit 8b32b61072
2 changed files with 19 additions and 16 deletions

View File

@@ -15,6 +15,19 @@ npm --prefix=awx/ui_next install
npm --prefix=awx/ui_next start
```
### Build for the Development Containers
If you just want to build a ui for the container-based awx development
environment, use these make targets:
```shell
# The ui will be reachable at https://localhost:8043 or
# http://localhost:8013
make ui-devel
# clean up
make clean-ui
```
### Using an External Server
If you normally run awx on an external host/server (in this example, `awx.local`),
you'll need use the `TARGET` environment variable when starting the ui development
@@ -24,18 +37,6 @@ server:
TARGET='https://awx.local:8043' npm --prefix awx/ui_next start
```
### Build for the Development Containers
If you just want to build a ui that you can use with the container-based awx
development environment, you can use these make targets:
```shell
# The ui will be reachable at https://localhost:8043 or http://localhost:8013
make ui-devel
# clean up
make clean-ui
```
## Testing
```shell
# run code formatting check