New Rails app

This commit is contained in:
Kevin McConnell
2024-06-21 13:19:56 +01:00
commit 564a0f48ae
80 changed files with 1537 additions and 0 deletions
+8
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 "${@}"