This commit is contained in:
Andras Bacsai
2024-05-23 12:09:16 +02:00
parent 74a24272a1
commit 853c347c28
73 changed files with 1387 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash -e
# If running the rails server then create or migrate existing database
if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then
./bin/rails db:prepare
fi
exec "${@}"