We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
make initdb
1 parent 5f8869a commit 1e59ed3Copy full SHA for 1e59ed3
Makefile
@@ -149,9 +149,6 @@ ifneq ($(PR), false)
149
endif
150
151
initdb:
152
- ifeq (, $(shell which xz))
153
- $(error "No xz available on PATH, install xz-utils!")
154
- endif
155
docker-compose run --rm web psql -h db -d postgres -U postgres -c "DROP DATABASE IF EXISTS warehouse"
156
docker-compose run --rm web psql -h db -d postgres -U postgres -c "CREATE DATABASE warehouse ENCODING 'UTF8'"
157
xz -d -f -k dev/$(DB).sql.xz --stdout | docker-compose run --rm web psql -h db -d warehouse -U postgres -v ON_ERROR_STOP=1 -1 -f -
0 commit comments