2024-04-18 10:53:23 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Check if the pro submodule is loaded
|
|
|
|
if [ ! -d "./packages/pro/src" ]; then
|
2024-04-18 10:53:58 +02:00
|
|
|
echo "[ERROR] Submodule is not loaded. This is only allowed with loaded submodules."
|
2024-04-18 10:53:23 +02:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
yarn build --scope @budibase/server --scope @budibase/worker
|
|
|
|
docker-compose -f hosting/docker-compose.build.yaml -f hosting/docker-compose.dev.yaml --env-file hosting/.env up --build --scale proxy-service=0
|
|
|
|
|
|
|
|
|