mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-14 17:01:20 +00:00
6b2f644352
With docker-compose and mariadb
17 lines
399 B
Bash
Executable file
17 lines
399 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
# Undo the `bundle --deployment --without development test`
|
|
# settings baked into the prod-ready Docker image's .bundle/config
|
|
bundle config --delete without
|
|
bundle config --delete frozen
|
|
|
|
# Install gems in development and test groups
|
|
bundle
|
|
|
|
# Ensure database exists and has latest migrations
|
|
bundle exec rake db:create
|
|
bundle exec rake db:migrate
|
|
|
|
# Run tests
|
|
bundle exec rake
|