mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 06:29:31 -02:30
Update README.md
This commit is contained in:
18
README.md
18
README.md
@@ -1,5 +1,21 @@
|
|||||||
# AWX-PF
|
# AWX-PF
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
Configure the external instance:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
ssh -t your.external.tower.host <<-EOSH
|
||||||
|
sudo -i -u root
|
||||||
|
echo "CSRF_TRUSTED_ORIGINS = ['your.external.tower.host:443']" >> /etc/tower/settings.py
|
||||||
|
ansible-tower-service restart
|
||||||
|
EOSH
|
||||||
|
```
|
||||||
|
Then update the project `webpack.config.js`:
|
||||||
|
```diff
|
||||||
|
- const TARGET = 'https://localhost:443';
|
||||||
|
+ const TARGET = 'https://your.external.tower.host:443';
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
* `git clone git@github.com:ansible/awx-pf.git`
|
* `git clone git@github.com:ansible/awx-pf.git`
|
||||||
@@ -7,5 +23,3 @@
|
|||||||
* npm install
|
* npm install
|
||||||
* npm start
|
* npm start
|
||||||
* visit `https://127.0.0.1:3000/`
|
* visit `https://127.0.0.1:3000/`
|
||||||
|
|
||||||
**note:** You will need to update the configuration variables in the webpack config file to point to an external awx server.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user