Skip to content

Commit

Permalink
Make sure we seed database when setting up project for the first time
Browse files Browse the repository at this point in the history
It fixes rubymem#31
  • Loading branch information
etagwerker committed May 16, 2020
1 parent f6c2701 commit 8005c88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ chdir APP_ROOT do
puts "\n== Preparing database =="
system! 'bin/rails db:setup'

puts "\n== Seeding database =="
system! 'bin/rails db:seed'

puts "\n== Removing old logs and tempfiles =="
system! 'bin/rails log:clear tmp:clear'

Expand Down

0 comments on commit 8005c88

Please sign in to comment.