Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update demo.sh (#8387)
p0ny705fda52c831
diff --git a/scripts/demo.sh b/scripts/demo.shindex c7a6a9b9d7..ccef16a36f 100755--- a/scripts/demo.sh+++ b/scripts/demo.sh@@ -30,30 +30,10 @@ if [ $2 ]; thenDEMO_NAME=$2fi-seedDemoData() {- echo 'Seeding data for online demo'+startDemo() {+ echo "Starting Bytebase in demo mode with ${DEMO_NAME} demo on port ${ONLINE_DEMO_PORT}, visiting from ${ONLINE_DEMO_EXTERNAL_URL}..."- bytebase --port ${ONLINE_DEMO_PORT} --external-url ${ONLINE_DEMO_EXTERNAL_URL} --demo ${DEMO_NAME} --data /var/opt/bytebase &-- until [ -f /var/opt/bytebase/pgdata-demo/default/PG_VERSION ]; do- echo "waiting..."- sleep 1- done- echo 'Sleep 120 seconds for Bytebase to finish migration...'- sleep 120-- echo 'Killing seeding program'-- killall bytebase-- sleep 20-}--startReadonly() {- echo "Starting Bytebase in readonly and demo mode on port ${ONLINE_DEMO_PORT}, visiting from ${ONLINE_DEMO_EXTERNAL_URL}..."-- bytebase --port ${ONLINE_DEMO_PORT} --external-url ${ONLINE_DEMO_EXTERNAL_URL} --readonly --demo ${DEMO_NAME} --data /var/opt/bytebase+ bytebase --port ${ONLINE_DEMO_PORT} --external-url ${ONLINE_DEMO_EXTERNAL_URL} --demo ${DEMO_NAME} --data /var/opt/bytebase}-seedDemoData-startReadonly+startDemo