Update README.md

This commit is contained in:
Jake McDermott 2018-09-26 14:50:15 -04:00 committed by GitHub
parent 421aa09383
commit a73c1dd28e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,17 @@
# AWX-PF
## Setup
Configure the external instance:
```shell
# Configure the external tower or awx intance:
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';
# Then update the project webpack configuration:
sed 's/localhost:443/your.external.tower.host:443/g' webpack.config.js > config.js
mv config.js webpack.config.js
```
## Usage