Update GNU Health demo data URL

This commit is contained in:
Disassembler 2018-03-25 23:11:44 +02:00
parent 672777dd5e
commit 41075c974e
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -24,7 +24,7 @@ docker run --rm -h gnuhealth --link postgres -v /srv/gnuhealth/conf:/srv/gnuheal
rm -f /tmp/.adminpwd
# Populate demo database
wget http://health.gnu.org/downloads/postgres_dumps/gnuhealth-3.2rc1.sql.gz -O /tmp/gnuhealth_demo.sql.gz
wget http://health.gnu.org/downloads/postgres_dumps/gnuhealth-32-demo.sql.gz -O /tmp/gnuhealth_demo.sql.gz
zcat /tmp/gnuhealth_demo.sql.gz | docker exec -i -e PGPASSWORD=${GNUHEALTH_PWD} postgres psql gnuhealth_demo gnuhealth
rm -f /tmp/gnuhealth_demo.sql.gz