mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
18 lines
369 B
Bash
Executable file
18 lines
369 B
Bash
Executable file
#!/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:reset
|
|
|
|
echo "==> App is now ready to go!"
|