budibase/scripts/localdomain.sh

16 lines
290 B
Bash
Raw Permalink Normal View History

#!/bin/bash
enable=$1
domain=$2
if [ "$enable" = "enable" ]; then
lerna run env:localdomain:enable -- "$domain"
2024-11-07 13:45:22 +01:00
cd ../account-portal
yarn env:localdomain:enable "$domain"
cd -
else
lerna run env:localdomain:disable
2024-11-07 13:45:22 +01:00
cd ../account-portal
yarn env:localdomain:disable
cd -
fi