13 lines
257 B
Bash
Executable File
13 lines
257 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
CONTAINER="socialize-postgres"
|
|
|
|
if docker ps -a --format '{{.Names}}' | grep -q "^${CONTAINER}$"; then
|
|
docker stop "$CONTAINER"
|
|
docker rm "$CONTAINER"
|
|
fi
|
|
|
|
./scripts/start-infrastructure.sh
|
|
./scripts/dev-backend.sh
|