mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
19 lines
379 B
Text
19 lines
379 B
Text
![]() |
#!/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!"
|