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