mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-22 14:41:09 +00:00
11 lines
No EOL
553 B
Bash
Executable file
11 lines
No EOL
553 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
# launch a couple of local instances to test federation
|
|
# sometimes ctrl+c doesnt work properly, so you have to kill trunk, cargo-watch and ibis manually
|
|
# TODO: somehow instances use wrong port resulting in cors errors
|
|
(trap 'kill 0' SIGINT;
|
|
sh -c 'TRUNK_SERVE_PORT=8070 IBIS_BACKEND_PORT=8071 IBIS_DATABASE_URL="postgres://ibis:password@localhost:5432/ibis" ./scripts/watch.sh' &
|
|
sh -c 'TRUNK_SERVE_PORT=8080 IBIS_BACKEND_PORT=8081 ./scripts/watch.sh' &
|
|
sh -c 'TRUNK_SERVE_PORT=8090 IBIS_BACKEND_PORT=8091 ./scripts/watch.sh'
|
|
) |