Setup the DB and debug the env
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Luke Murphy 2020-11-06 12:35:37 +01:00
parent b49c8e9740
commit c854528589
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 3 deletions

View File

@ -34,9 +34,10 @@ re_use() {
fi
}
# TODO(decentral1se): manual steps for now
# db_setup() { bundle exec rake db:setup }
# db_migrate() { bundle exec rake db:migrate }
db_setup() {
env
bundle exec rake db:setup
}
run_web(){
./proc-start web
@ -44,4 +45,5 @@ run_web(){
re_use
load_vars
db_setup
run_web