make upgrading from 1.0 easier

This commit is contained in:
Joshua Arts
2018-07-05 17:25:59 -04:00
parent fd1b550f93
commit e2ad6e7715
12 changed files with 51 additions and 23 deletions

View File

@ -1,6 +1,8 @@
#!/bin/bash
bundle exec rake db:create
bundle exec rake db:migrate
if ! bundle exec rake db:migrate ; then
export DB_MIGRATE_FAILED=1
fi
exec bundle exec puma -C config/puma.rb