mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-05 16:58:50 +01:00
Add Docker documentation to the installation docs; update and create the ”Scripts To Rule Them All” scripts for easy use of the Docker Composer environment.
Fixes #2425.
This commit is contained in:
parent
b57a62b72d
commit
d145640ead
8 changed files with 172 additions and 16 deletions
13
script/update
Executable file
13
script/update
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
# script/update: Update application to run for its current checkout.
|
||||
|
||||
set -e
|
||||
|
||||
docker_compose="docker-compose --file docker-compose.yml"
|
||||
|
||||
script/bootstrap
|
||||
|
||||
echo "==> Updating db…"
|
||||
# run all database migrations to ensure everything is up to date.
|
||||
$docker_compose run web bin/rake db:migrate
|
||||
Loading…
Add table
Add a link
Reference in a new issue