From a73c1dd28ef9d71bb3a4e0b3c94ed0b7758e3264 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Wed, 26 Sep 2018 14:50:15 -0400 Subject: [PATCH] Update README.md --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2d19bc889a..d53d659cf6 100644 --- a/README.md +++ b/README.md @@ -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