You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This assume docker compose build, which takes a long time and builds the image, has already happened,
|
|
|
|
# it should on up -d.
|
|
|
|
# Also, you may need to remove and create the external volumes again for the steps
|
|
|
|
# below to work correctly.
|
|
|
|
docker compose up -d
|
|
|
|
docker compose run --rm bikebike rake db:setup
|
|
|
|
docker compose run --rm bikebike rake db:migrate
|
|
|
|
docker compose run --rm bikebike rake assets:precompile
|
|
|
|
docker compose down
|
|
|
|
docker compose up -d
|