File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,19 @@ run-router: build-router
2626 @export LD_LIBRARY_PATH=${PWD} /candle-binding/target/release && \
2727 ./bin/router -config=config/config.yaml
2828
29+ # Prepare Envoy
30+ prepare-envoy :
31+ curl https://func-e.io/install.sh | sudo bash -s -- -b /usr/local/bin
32+
2933# Run Envoy proxy
3034run-envoy :
35+ @echo " Checking for func-e..."
36+ @if ! command -v func-e > /dev/null 2>&1 ; then \
37+ echo " func-e not found, installing..." ; \
38+ $(MAKE ) prepare-envoy; \
39+ fi
3140 @echo " Starting Envoy..."
32- envoy --config-path config/envoy.yaml --component-log-level " ext_proc:trace,router:trace,http:trace"
41+ func-e run --config-path config/envoy.yaml --component-log-level " ext_proc:trace,router:trace,http:trace"
3342
3443# Test the Rust library
3544test-binding : rust
You can’t perform that action at this time.
0 commit comments