mirror of
https://github.com/covidpass-org/covidpass.git
synced 2025-02-23 06:57:40 +01:00
15 lines
383 B
Bash
15 lines
383 B
Bash
|
#!/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
|