mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-22 19:40:14 -04:00
Slightly better run script
This commit is contained in:
parent
ace489924d
commit
11dcf7e26d
14
run.sh
14
run.sh
@ -13,5 +13,15 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
make clean kitchen
|
make clean kitchen
|
||||||
cd kitchen
|
pushd web
|
||||||
cargo run -- serve --dir ../examples
|
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
|
Loading…
x
Reference in New Issue
Block a user