Remove local development README and enhance scripts for cross-platform compatibility

- Deleted `README.md` for local development setup as it was deemed unnecessary.
- Updated `setup-neon.sh`, `start-all.sh`, and `create-service.sh` scripts to source an OS helper for improved cross-platform command execution.
- Modified commands in `init-project.sh` to reflect the new script structure for starting services.
This commit is contained in:
Ho Ngoc Hai
2025-12-27 10:26:04 +07:00
parent 29c40ea681
commit 5ff8035013
6 changed files with 81 additions and 89 deletions

View File

@@ -4,6 +4,9 @@
set -e
# Source OS helper for cross-platform commands
source "$(dirname "$0")/../utils/os-helper.sh"
echo "🚀 Starting all services... / Khởi động tất cả services..."
# EN: Verify Docker daemon is running
@@ -38,7 +41,7 @@ fi
# VI: Khởi động infrastructure services (Redis cho caching, Traefik cho routing)
echo "📦 Starting infrastructure (Redis, Traefik)... / Khởi động infrastructure (Redis, Traefik)..."
cd deployments/local
docker-compose up -d
run_compose up -d
cd ../..
# EN: Give Redis time to fully start before starting services