Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Waiting only for postgres backend

Cette révision appartient à :
tomleb 2017-05-06 19:17:13 -04:00
Parent dbb35cd336
révision 6798b30a16

Voir le fichier

@ -1,9 +1,13 @@
#!/bin/bash #!/bin/bash
set -ex set -eux
# TODO Doesn't scale, find another way to wait until db is ready # TODO Doesn't scale, find another way to wait until db is ready
sleep 40 if [[ "${PANTSU_DBTYPE}" = "postgres" ]]; then
echo 'Waiting for the database to be ready...'
sleep 40
fi
go get github.com/ewhal/nyaa go get github.com/ewhal/nyaa
go generate ./... go generate ./...
go build go build