Bike!Bike! Website!
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.

13 lines
451 B

#!/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 bikebike rake db:setup
docker compose run bikebike rake db:migrate
docker compose run bikebike rake assets:precompile
docker compose down
docker compose up -d