d25d482dc2
Publish CLI Package / publish-npm (push) Waiting to run
Publish Python SDK / publish-pypi (push) Waiting to run
Publish TypeScript SDK / publish-npm (push) Waiting to run
CI / Migrate Dev DB (push) Has been skipped
CI / Detect Version (push) Has been cancelled
CI / Migrate DB (push) Has been cancelled
CI / Build Dev ECR (./docker/app.Dockerfile, ECR_APP) (push) Has been cancelled
CI / Build Dev ECR (./docker/db.Dockerfile, ECR_MIGRATIONS) (push) Has been cancelled
CI / Build Dev ECR (./docker/pii.Dockerfile, ECR_PII) (push) Has been cancelled
CI / Build Dev ECR (./docker/realtime.Dockerfile, ECR_REALTIME) (push) Has been cancelled
CI / Deploy Trigger.dev (Dev) (push) Has been cancelled
CI / Build AMD64 (./docker/app.Dockerfile, ECR_APP, ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Build AMD64 (./docker/db.Dockerfile, ECR_MIGRATIONS, ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Build AMD64 (./docker/pii.Dockerfile, ECR_PII, ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Build AMD64 (./docker/realtime.Dockerfile, ECR_REALTIME, ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/app.Dockerfile, ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/db.Dockerfile, ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/pii.Dockerfile, ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/realtime.Dockerfile, ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Check Docs Changes (push) Has been cancelled
CI / Process Docs (push) Has been cancelled
CI / Create GitHub Release (push) Has been cancelled
CI / Test and Build (push) Has been cancelled
43 lines
1.9 KiB
Bash
Executable File
43 lines
1.9 KiB
Bash
Executable File
#!/bin/bash
|
|
# Sim Project Commands
|
|
# Source this file to add project-specific commands to your shell
|
|
# Add to your ~/.bashrc or ~/.zshrc: source /workspace/.devcontainer/sim-commands.sh
|
|
|
|
# Project-specific aliases for Sim development
|
|
alias sim-start="cd /workspace && bun run dev:full"
|
|
alias sim-app="cd /workspace && bun run dev"
|
|
alias sim-sockets="cd /workspace && bun run dev:sockets"
|
|
alias sim-migrate="cd /workspace/apps/sim && bunx drizzle-kit push"
|
|
alias sim-generate="cd /workspace/apps/sim && bunx drizzle-kit generate"
|
|
alias sim-rebuild="cd /workspace && bun run build && bun run start"
|
|
alias docs-dev="cd /workspace/apps/docs && bun run dev"
|
|
|
|
# Database connection helpers
|
|
alias pgc="PGPASSWORD=postgres psql -h db -U postgres -d simstudio"
|
|
alias check-db="PGPASSWORD=postgres psql -h db -U postgres -c '\l'"
|
|
|
|
# Default to workspace directory
|
|
cd /workspace 2>/dev/null || true
|
|
|
|
# Welcome message - show once per session
|
|
if [ -z "$SIM_WELCOME_SHOWN" ]; then
|
|
export SIM_WELCOME_SHOWN=1
|
|
|
|
echo ""
|
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
echo "🚀 Sim Development Environment"
|
|
echo ""
|
|
echo "Project commands:"
|
|
echo " sim-start - Start app + socket server"
|
|
echo " sim-app - Start only main app"
|
|
echo " sim-sockets - Start only socket server"
|
|
echo " sim-migrate - Push schema changes"
|
|
echo " sim-generate - Generate migrations"
|
|
echo ""
|
|
echo "Database:"
|
|
echo " pgc - Connect to PostgreSQL"
|
|
echo " check-db - List databases"
|
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
echo ""
|
|
fi
|