DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

426d121b70a907fcc7e28155e89a66b2f22bec9d — Jonni Liljamo 2 years ago 3d6f5a2
Assume running dev-launch with docker access
1 files changed, 4 insertions(+), 4 deletions(-)

M sdbapi/dev-launch.sh
M sdbapi/dev-launch.sh => sdbapi/dev-launch.sh +4 -4
@@ 15,9 15,9 @@ function confirm() {
    return 1
}

confirm reset containers? && sudo docker compose down
confirm reset database? && sudo docker volume rm sdbapi_apidb_data
confirm reset containers? && docker compose down
confirm reset database? && docker volume rm sdbapi_apidb_data

confirm rebuild api? && sudo docker compose build
confirm rebuild api? && docker compose build

confirm launch? && sudo docker compose up
confirm launch? && docker compose up