mirror of
https://github.com/maplibre/martin.git
synced 2024-12-24 07:22:52 +03:00
14 lines
377 B
Bash
14 lines
377 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Perform all actions as $POSTGRES_USER
|
||
|
export PGUSER="$POSTGRES_USER"
|
||
|
|
||
|
echo "Loading Martin fixtures into $POSTGRES_DB"
|
||
|
|
||
|
psql --dbname="$POSTGRES_DB" -f /fixtures/TileBBox.sql
|
||
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points_source.sql
|
||
|
psql --dbname="$POSTGRES_DB" -f /fixtures/table_source.sql
|
||
|
psql --dbname="$POSTGRES_DB" -f /fixtures/function_source.sql
|