Home | Emulators | Seeds & Migrations | Deployment | Test Runners | Known Issues
Login to GCP and set project:
gcloud auth login
gcloud config set project codee-club
Save emulator state as a backup:
yarn emu --export-on-exit=./backups/MY_BACKUP
Download production backups:
cd admin
yarn backup-get --mode=production
Run emulator with backup picker:
yarn emu-imp
Run emulator with last backup (no picker):
yarn emu --import backups
Import AND export to persist state between sessions (assumes MY_BACKUP
is active):
yarn emu --import backups --export-on-exit="./backups/MY_BACKUP"