#!/bin/bash

# echo "Revert source code!"
# git checkout src
# git checkout public
# echo "Done!"

# echo "Pulling new source version!"
# git pull
# echo "Done!"

echo "-------------------------Shut down all!-------------------------"
docker-compose -p app -f docker-compose.yml down

echo "-------------------------Start build projects!-------------------------"
docker-compose -p app -f docker-compose.yml build

echo "-------------------------Up!-------------------------"
docker-compose -p app -f docker-compose.yml up -d
echo "-------------------------Done!-------------------------"
