Skip to content

Commit

Permalink
Update setup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
amanmibra committed Dec 2, 2019
1 parent dd6bc69 commit c57cdc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ docker=$(docker ps )
if [[ !($docker =~ .*kville-scheduler_app.*) && !($docker =~ .*kville-scheduler_db.*) ]]
then
echo "📦 Building containers 📦"
docker-compose build
docker-compose up -d
echo "💾 POSTGRES 💾"
docker-compose run app ./bin/db-setup.sh
Expand Down
1 change: 1 addition & 0 deletions bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ docker=$(docker ps )
if [[ !($docker =~ .*kville-scheduler_app.*) && !($docker =~ .*kville-scheduler_db.*) ]]
then
echo "📦 Building containers 📦"
docker-compose build
docker-compose up -d
echo "💾 Setting up database 💾"
docker-compose run app ./bin/db-setup.sh
Expand Down

0 comments on commit c57cdc1

Please sign in to comment.