Simplify UI / Docker targets

- Renamed npm scripts to reflect what they are actually doing. Nothing is being built here!
- Not sure why the default django_host was 0.0.0.0…
- Removed unnecessary logic from build-docker-cid
This commit is contained in:
Shane McDonald
2017-01-25 18:34:18 -05:00
parent 7776dc1304
commit 35deb0be37
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -7,15 +7,15 @@
},
"config": {
"django_port": "8043",
"django_host": "0.0.0.0",
"django_host": "localhost"
},
"engines": {
"node": "^6.3.1",
"npm": "^3.10.3"
},
"scripts": {
"build-docker-machine": "ip=$(docker-machine ip $DOCKER_MACHINE_NAME); npm set ansible-tower:django_host ${ip}; grunt dev;",
"build-docker-cid": "ip=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' $DOCkER_CID` | npm set config ansible-tower:django_host ${ip}; grunt dev;",
"ui-docker-machine": "ip=$(docker-machine ip $DOCKER_MACHINE_NAME); npm set ansible-tower:django_host ${ip}; grunt dev;",
"ui-docker": "grunt dev;",
"build-devel": "grunt devNoSync",
"pot": "grunt nggettext_extract",
"languages": "grunt nggettext_compile",