mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
make default configuration work with awx development api server
This commit is contained in:
16
README.md
16
README.md
@@ -1,19 +1,5 @@
|
||||
# AWX-PF
|
||||
|
||||
## Setup
|
||||
```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 configuration:
|
||||
sed 's/localhost:443/your.external.tower.host:443/g' webpack.config.js > config.js
|
||||
mv config.js webpack.config.js
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
* `git clone git@github.com:ansible/awx-pf.git`
|
||||
@@ -21,3 +7,5 @@ mv config.js webpack.config.js
|
||||
* npm install
|
||||
* npm start
|
||||
* visit `https://127.0.0.1:3000/`
|
||||
|
||||
**note:** These instructions assume you have the [awx](https://github.com/ansible/awx/blob/devel/CONTRIBUTING.md#running-the-environment) development api server up and running at `localhost:8043`.
|
||||
|
||||
Reference in New Issue
Block a user