Skip to content

Commit 84337c0

Browse files
committed
ADD: start project script
1 parent 6b24c9f commit 84337c0

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

scripts/start_project.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
# Load Environment or use default
4+
ENVIRONMENT=${1:-development}
5+
6+
# Check Docker and Docker Compose availability
7+
./scripts/check_docker.sh || exit 1
8+
9+
echo "Starting project in $ENVIRONMENT mode..."
10+
docker-compose -f docker-compose.yml -f docker-compose.$ENVIRONMENT.yml up -d

0 commit comments

Comments
 (0)