data_importer/bin/init_db.sh

7 lines
199 B
Bash
Raw Permalink Normal View History

2022-04-09 23:08:48 -05:00
#!/usr/bin/env bash
# runs the three magic docker-compose cmds to initialize db data
docker-compose run web rake db:create
docker-compose run web rake db:migrate
docker-compose run web rake db:seed