mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +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
18
script/setup
Executable file
18
script/setup
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
# script/setup: Set up application for the first time after cloning, or set it
|
||||
# back to the initial first unused state.
|
||||
|
||||
set -e
|
||||
|
||||
docker_compose="docker-compose --file docker-compose.yml"
|
||||
|
||||
script/bootstrap
|
||||
|
||||
script/poll-for-db
|
||||
|
||||
echo "==> Setting up DB…"
|
||||
# reset database to a fresh state.
|
||||
bin/rake db:create db:reset
|
||||
|
||||
echo "==> App is now ready to go!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue