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

View File

@@ -1,19 +1,17 @@
# AWX-PF # AWX-PF
## Setup ## Setup
Configure the external instance:
```shell ```shell
# Configure the external tower or awx intance:
ssh -t your.external.tower.host <<-EOSH ssh -t your.external.tower.host <<-EOSH
sudo -i -u root sudo -i -u root
echo "CSRF_TRUSTED_ORIGINS = ['your.external.tower.host:443']" >> /etc/tower/settings.py echo "CSRF_TRUSTED_ORIGINS = ['your.external.tower.host:443']" >> /etc/tower/settings.py
ansible-tower-service restart ansible-tower-service restart
EOSH EOSH
```
Then update the project `webpack.config.js`: # Then update the project webpack configuration:
```diff sed 's/localhost:443/your.external.tower.host:443/g' webpack.config.js > config.js
- const TARGET = 'https://localhost:443'; mv config.js webpack.config.js
+ const TARGET = 'https://your.external.tower.host:443';
``` ```
## Usage ## Usage