diff --git a/QUICKSTART.md b/QUICKSTART.md index faf6f794ca..48b7bad8c1 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -107,7 +107,5 @@ If you experience issues, you can start from scratch by running this command ``` pnpm clear-caches -rm -rf ./packages/matrix/synapse-data -docker ps -a --format '{{.Names}}' | grep -E 'boxel-smtp|boxel-synapse|synapse-admin' | xargs -r docker stop -docker ps -a --format '{{.Names}}' | grep -E 'boxel-smtp|boxel-synapse|synapse-admin' | xargs -r docker rm -v +pnpm full-reset ``` diff --git a/packages/realm-server/package.json b/packages/realm-server/package.json index c5664c441a..7c47d99df7 100644 --- a/packages/realm-server/package.json +++ b/packages/realm-server/package.json @@ -76,10 +76,10 @@ "start:pg": "./scripts/start-pg.sh", "stop:pg": "./scripts/stop-pg.sh", "test:wait-for-servers": "NODE_NO_WARNINGS=1 start-server-and-test 'pnpm run wait' 'http-get://localhost:4201/base/fields/boolean-field?acceptHeader=application%2Fvnd.card%2Bjson' 'pnpm run wait' 'http-get://localhost:4202/node-test/person-1?acceptHeader=application%2Fvnd.card%2Bjson|http://localhost:8008|http://localhost:5001' 'test'", - "setup:base-in-deployment": "mkdir -p /persistent/base && rsync --dry-run --itemize-changes --size-only --recursive ../base/. /persistent/base/ && rsync --size-only --recursive ../base/. /persistent/base/", + "setup:base-in-deployment": "mkdir -p /persistent/base && rsync --dry-run --itemize-changes --size-only --recursive --delete ../base/. /persistent/base/ && rsync --size-only --recursive --delete ../base/. /persistent/base/", "setup:experiments-in-deployment": "mkdir -p /persistent/experiments && rsync --dry-run --itemize-changes --size-only --recursive ../experiments-realm/. /persistent/experiments/ && rsync --size-only --recursive ../experiments-realm/. /persistent/experiments/", - "setup:seed-in-deployment": "mkdir -p /persistent/seed && rsync --dry-run --itemize-changes --size-only --recursive ../seed-realm/. /persistent/seed/ && rsync --size-only --recursive ../seed-realm/. /persistent/seed/", - "setup:catalog-in-deployment": "mkdir -p /persistent/catalog && rsync --dry-run --itemize-changes --size-only --recursive ../catalog-realm/. /persistent/catalog/ && rsync --size-only --recursive ../catalog-realm/. /persistent/catalog/", + "setup:seed-in-deployment": "mkdir -p /persistent/seed && rsync --dry-run --itemize-changes --size-only --recursive --delete ../seed-realm/. /persistent/seed/ && rsync --size-only --recursive --delete ../seed-realm/. /persistent/seed/", + "setup:catalog-in-deployment": "mkdir -p /persistent/catalog && rsync --dry-run --itemize-changes --size-only --recursive --delete ../catalog-realm/. /persistent/catalog/ && rsync --size-only --recursive --delete ../catalog-realm/. /persistent/catalog/", "start": "PGPORT=5435 NODE_NO_WARNINGS=1 ts-node --transpileOnly main", "start:base": "./scripts/start-base.sh", "start:test-realms": "./scripts/start-test-realms.sh",