diff --git a/run.sh b/run.sh index ab4ed3e..5d2ccf2 100755 --- a/run.sh +++ b/run.sh @@ -13,5 +13,15 @@ # limitations under the License. make clean kitchen -cd kitchen -cargo run -- serve --dir ../examples \ No newline at end of file +pushd web +trunk serve \ + --public-url /ui \ + --proxy-backend http://localhost:3030/api/v1 & +trunkpid=$! +popd +trap "{ echo killing ${trunkpid}; kill -9 ${trunkpid}; }" EXIT +pushd kitchen +echo Starting api server +cargo run -- serve --dir ../examples +popd +# This is ghetto but I'm doing it anyway \ No newline at end of file