2021-04-10 13:10:32 -05:00
|
|
|
run: install
|
2021-04-16 02:49:00 -05:00
|
|
|
echo-http --listen=0.0.0.0:8081 --message=svc1 &
|
|
|
|
echo-http --listen=0.0.0.0:8082 --message=svc2 &
|
|
|
|
echo-http --listen=0.0.0.0:8083 --message=svc3 &
|
|
|
|
../../dist/reproxy --file.enabled --file.name=reproxy.yml --assets.location=./web --assets.root=/static --dbg --logger.stdout
|
|
|
|
pkill -9 echo-http
|
2021-04-10 13:10:32 -05:00
|
|
|
|
2021-04-10 14:34:28 -05:00
|
|
|
run_assets_only: install
|
|
|
|
../../dist/reproxy --assets.location=./web --assets.root=/
|
2021-04-16 02:49:00 -05:00
|
|
|
pkill -9 echo-http
|
2021-04-10 14:34:28 -05:00
|
|
|
|
2021-04-10 13:10:32 -05:00
|
|
|
kill:
|
2021-04-16 02:49:00 -05:00
|
|
|
pkill -9 echo-http
|
2021-04-10 13:10:32 -05:00
|
|
|
|
|
|
|
install:
|
|
|
|
cd ../../app && CGO_ENABLED=0 go build -o ../dist/reproxy
|
2021-04-16 02:49:00 -05:00
|
|
|
cd /tmp && go install github.com/umputun/echo-http@latest
|