chore(config-focus): 🔧 Sync dependencies, update build/config settings, and refresh error page assets
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
b20dcb1f03
commit
fc84ba0625
11 changed files with 2153 additions and 0 deletions
1
.claude
Symbolic link
1
.claude
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
tooling/claude/dot-claude
|
||||
1
CLAUDE.md
Symbolic link
1
CLAUDE.md
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
tooling/claude/CLAUDE.md
|
||||
7
bunfig.toml
Normal file
7
bunfig.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[install]
|
||||
# Use npmjs as the default registry
|
||||
registry = "https://registry.npmjs.org/"
|
||||
|
||||
[install.scopes]
|
||||
# @lilith packages are from our local Verdaccio registry
|
||||
"@lilith" = "http://forge.black.local/api/packages/lilith/npm/"
|
||||
BIN
error-403.png
Normal file
BIN
error-403.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 515 KiB |
BIN
error-502.png
Normal file
BIN
error-502.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 503 KiB |
BIN
error-503.png
Normal file
BIN
error-503.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 562 KiB |
BIN
error-504.png
Normal file
BIN
error-504.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 502 KiB |
BIN
error-maintenance.png
Normal file
BIN
error-maintenance.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 553 KiB |
94
run
Executable file
94
run
Executable file
|
|
@ -0,0 +1,94 @@
|
|||
#!/bin/bash
|
||||
# =============================================================================
|
||||
# Lilith Platform Live - Run Command
|
||||
# =============================================================================
|
||||
#
|
||||
# Usage:
|
||||
# ./run dev Start dev (docker + frontend + APIs)
|
||||
# ./run build Build for production
|
||||
# ./run dev:infra Start infrastructure only (PostgreSQL)
|
||||
# ./run dev:stop Stop all services
|
||||
# ./run dev:waitlist Start waitlist API only
|
||||
# ./run dev:merchant Start merchant API only
|
||||
# ./run dev:status Health check all services
|
||||
# ./run dev:logs [svc] View service logs
|
||||
#
|
||||
# =============================================================================
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
export BUN_INSTALL="${BUN_INSTALL:-$HOME/.bun}"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
|
||||
case "${1:-dev}" in
|
||||
dev)
|
||||
echo "Starting lilith-platform.live dev environment..."
|
||||
docker compose -f deployments/docker/docker-compose.yml up -d
|
||||
echo "PostgreSQL (waitlist) running on port 25460"
|
||||
echo "PostgreSQL (merchant) running on port 25445"
|
||||
echo ""
|
||||
|
||||
echo "Starting waitlist API on port 3070..."
|
||||
cd codebase/@features/waitlist/backend-api && ADMIN_API_KEY="${ADMIN_API_KEY:-dev-admin-key}" bun run dev &
|
||||
WAITLIST_PID=$!
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
echo "Starting merchant API on port 3020..."
|
||||
cd codebase/@features/merchant/backend-api && bun run dev &
|
||||
MERCHANT_PID=$!
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
echo ""
|
||||
echo "Starting frontend..."
|
||||
cd deployments/@domains/atlilith.www/root && bun run dev
|
||||
|
||||
# Cleanup background processes on exit
|
||||
kill $WAITLIST_PID $MERCHANT_PID 2>/dev/null
|
||||
;;
|
||||
dev:infra)
|
||||
docker compose -f deployments/docker/docker-compose.yml up -d
|
||||
echo "Infrastructure running."
|
||||
echo " PostgreSQL (waitlist): port 25460"
|
||||
echo " PostgreSQL (merchant): port 25445"
|
||||
;;
|
||||
dev:waitlist)
|
||||
echo "Starting waitlist API on port 3070..."
|
||||
cd codebase/@features/waitlist/backend-api && ADMIN_API_KEY="${ADMIN_API_KEY:-dev-admin-key}" bun run dev
|
||||
;;
|
||||
dev:merchant)
|
||||
echo "Starting merchant API on port 3020..."
|
||||
cd codebase/@features/merchant/backend-api && bun run dev
|
||||
;;
|
||||
dev:stop)
|
||||
docker compose -f deployments/docker/docker-compose.yml down
|
||||
echo "All services stopped."
|
||||
;;
|
||||
dev:status)
|
||||
echo "=== Infrastructure ==="
|
||||
docker compose -f deployments/docker/docker-compose.yml ps
|
||||
echo ""
|
||||
echo "=== Waitlist API (port 3070) ==="
|
||||
curl -sf http://localhost:3070/api/health && echo "" || echo "Not running"
|
||||
echo ""
|
||||
echo "=== Merchant API (port 3020) ==="
|
||||
curl -sf http://localhost:3020/api/health && echo "" || echo "Not running"
|
||||
;;
|
||||
dev:logs)
|
||||
SERVICE="${2:-}"
|
||||
if [ -n "$SERVICE" ]; then
|
||||
docker compose -f deployments/docker/docker-compose.yml logs -f "$SERVICE"
|
||||
else
|
||||
docker compose -f deployments/docker/docker-compose.yml logs -f
|
||||
fi
|
||||
;;
|
||||
build)
|
||||
echo "Building lilith-platform.live..."
|
||||
cd deployments/@domains/atlilith.www/root && bun run build
|
||||
;;
|
||||
*)
|
||||
echo "Unknown command: $1"
|
||||
echo "Usage: ./run [dev|dev:infra|dev:stop|dev:waitlist|dev:merchant|dev:status|dev:logs|build]"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
1
tsconfig.tsbuildinfo
Normal file
1
tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue