Installing Your Own Version of BETYdb
# Setup database with user bety
sudo -u postgres createuser -d -l -P -R -S bety
sudo -u postgres createdb -O bety bety
# Download load.bety.sh script
https://raw.githubusercontent.com/PecanProject/pecan/master/scripts/load.bety.sh
chmod +x load.bety.sh
# see description
./load.bety.sh -h
# create database and load data from remote site 0 (betydb.org)
sudo -u postgres ./load.bety.sh -c YES -u YES -r 0
# add data from remote site 1 (Boston University)
sudo -u postgres ./load.bety.sh -r 1
# TERRA REF public data:
sudo -u postgres ./load.bety.sh -r 6Last updated