Add wm-cursor (wmc) script that bridges workmux with Cursor SSH remote, giving each worktree its own Cursor window with an independently-focused grouped tmux session. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
478 B
Bash
Executable File
18 lines
478 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
if docker start windmill-db-dev 2>/dev/null; then
|
|
echo "PostgreSQL database started (existing container)."
|
|
else
|
|
docker run -d \
|
|
--name windmill-db-dev \
|
|
-e POSTGRES_PASSWORD=changeme \
|
|
-e POSTGRES_DB=windmill \
|
|
-p 5432:5432 \
|
|
-v windmill_db_data:/var/lib/postgresql/data \
|
|
postgres:16
|
|
echo "PostgreSQL database started (new container)."
|
|
fi
|
|
|
|
echo "Connection string: postgres://postgres:changeme@localhost:5432/windmill"
|