Initial pop-up for new function.

This commit is contained in:
Alex
2017-02-23 08:21:33 +00:00
committed by Alex Ellis
parent edc2c4b29e
commit 98c9ef67f4
9 changed files with 105 additions and 33 deletions

11
contrib/HACK.md Normal file
View File

@ -0,0 +1,11 @@
## Hack on the UI for the API Gateway
To hack on the UI without rebuilding the gateway mount the assets in a bind-mount like this:
```
$ docker network create func_functions --driver=overlay --attachable=true
$ docker run -v `pwd`/gateway/assets:/root/assets -v "/var/run/docker.sock:/var/run/docker.sock" \
-p 8080:8080 --network=func_functions -ti alexellis2/faas-gateway:latest-dev
```
Then edit `docker-compose.yml` to use an external network and do a `./deploy_stack.sh`.