We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9ad063 commit 02fd861Copy full SHA for 02fd861
bin/docker-entrypoint
@@ -1,7 +1,10 @@
1
#!/bin/bash -e
2
3
if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then
4
- # prepare database
+ SAGITTARIUS_PREPARE_DATABASE="true"
5
+fi
6
+
7
+if [ "${SAGITTARIUS_PREPARE_DATABASE}" == "true" ]; then
8
bundle exec rake db:prepare
9
FILTER=01_application_settings bundle exec rake db:seed_fu
10
fi
0 commit comments