Skip to content

Commit

Permalink
Merge pull request #824 from DFE-Digital/er-790-azure-refinements
Browse files Browse the repository at this point in the history
ER-790: Remove DB seeding code
  • Loading branch information
sunny-sidhu-and authored Sep 8, 2023
2 parents 2aa0751 + c4b4245 commit 4768a62
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ fi

bundle exec rails db:prepare assets:precompile

if [ -z ${ENVIRONMENT} ]
then
echo "ENVIRONMENT is not defined so development database may not contain seed data"
else
if [ !${ENVIRONMENT}=="development" ]
then
bundle exec rails db:seed
fi
fi
#if [ -z ${ENVIRONMENT} ]
#then
# echo "ENVIRONMENT is not defined so development database may not contain seed data"
#else
# if [ !${ENVIRONMENT}=="development" ]
# then
# bundle exec rails db:seed
# fi
#fi

exec bundle exec "$@"

0 comments on commit 4768a62

Please sign in to comment.