- Renamed auth-service to iam-service across various files for consistency. - Updated deployment workflows, database migration scripts, and documentation to reflect the service name change. - Enhanced bilingual documentation for clarity on the new service structure and usage. - Removed outdated references to auth-service in scripts and configuration files to streamline the project structure.
26 lines
442 B
Bash
Executable File
26 lines
442 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
SERVICE=$1
|
|
|
|
# EN: Validate arguments
|
|
# VI: Xác thực tham số
|
|
if [ -z "$SERVICE" ]; then
|
|
echo "Usage: $0 <service-name>"
|
|
echo "Example: $0 iam-service"
|
|
exit 1
|
|
fi
|
|
|
|
echo "🚀 Starting $SERVICE..."
|
|
|
|
# EN: Check if service exists
|
|
# VI: Kiểm tra xem service có tồn tại không
|
|
if [ ! -d "services/$SERVICE" ]; then
|
|
echo "❌ Service $SERVICE not found"
|
|
exit 1
|
|
fi
|
|
|
|
cd "services/$SERVICE"
|
|
pnpm dev
|