1
0
mirror of https://github.com/covidpass-org/covidpass.git synced 2025-02-22 14:37:51 +01:00
covidpass-greenpass-su-ipho.../on-vm-onetime-setup.sh
Ryan Slobojan 5fc81b82a8 More Sentry fixes and app error handling
* Bump lockfile ver of pdjjs-dist to match package.json definition
* Also added dev env wiring code for Vagrant VM
* Increment app version to 1.9.19
* Assorted logging cleanup and debugging addition around QC and BC SHC codes to help improve SHC code detection
2021-10-06 16:24:35 -04:00

15 lines
383 B
Bash
Executable File

#!/bin/bash -e
export SCRAPER_SRCDIR="/home/vagrant/covidpass"
export SCRAPER_TMPDIR="/home/vagrant/covidtemp"
mkdir ${SCRAPER_TMPDIR}
cd ${SCRAPER_TMPDIR}
${SCRAPER_SRCDIR}/sync.sh || /bin/true
npm install
echo "Log into GCloud now, and choose broadcast2patients as the project; do not choose a region"
sudo google init --console-only
sudo gcloud config set run/region us-east1