mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Update ui dev readme, templates
This commit is contained in:
@@ -57,7 +57,7 @@ The UI is built using [ReactJS](https://reactjs.org/docs/getting-started.html) a
|
||||
The AWX UI requires the following:
|
||||
|
||||
- Node 14.x LTS
|
||||
- NPM 6.x LTS
|
||||
- NPM 7.x LTS
|
||||
|
||||
Run the following to install all the dependencies:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# AWX-PF
|
||||
# AWX-UI
|
||||
|
||||
## Requirements
|
||||
- node 14.x LTS, npm 7.x LTS, make, git
|
||||
- node 14.x LTS, npm 7.x, make, git
|
||||
|
||||
## Development
|
||||
The API development server will need to be running. See [CONTRIBUTING.md](../../CONTRIBUTING.md).
|
||||
@@ -17,7 +17,7 @@ npm --prefix=awx/ui 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:
|
||||
environment and do not need to workk on the ui code, use these make targets:
|
||||
|
||||
```shell
|
||||
# The ui will be reachable at https://localhost:8043 or
|
||||
@@ -108,8 +108,8 @@ To run:
|
||||
|
||||
```shell
|
||||
cd awx/awx/ui
|
||||
docker build -t awx-ui-next .
|
||||
docker run --name tools_ui_1 --network _sources_default --link 'tools_awx_1:awx' -e TARGET="https://awx:8043" -p '3001:3001' --rm -v $(pwd)/src:/ui/src awx-ui-next
|
||||
docker build -t awx-ui .
|
||||
docker run --name tools_ui_1 --network _sources_default --link 'tools_awx_1:awx' -e TARGET="https://awx:8043" -p '3001:3001' --rm -v $(pwd)/src:/ui/src awx-ui
|
||||
```
|
||||
|
||||
**Note:** This is for CI, test systems, zuul, etc. For local development, see [usage](https://github.com/ansible/awx/blob/devel/awx/ui/README.md#Development)
|
||||
|
||||
Reference in New Issue
Block a user