feat(devcontainer): initialize redbot instance in postCreateCommand
Some checks failed
Actions / Build Documentation (MkDocs) (push) Has been skipped
Actions / Lint Code (Ruff & Pylint) (push) Failing after 42s

This commit is contained in:
cswimr 2025-01-25 22:50:35 +00:00
parent a82d3490e7
commit ada949b486
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -30,6 +30,6 @@
"PROJECT_DIR": "/workspaces/SeaCogs" "PROJECT_DIR": "/workspaces/SeaCogs"
}, },
"mounts": ["source=seacogs-persistent-data,target=/workspaces/SeaCogs/.data,type=volume"], "mounts": ["source=seacogs-persistent-data,target=/workspaces/SeaCogs/.data,type=volume"],
"postCreateCommand": "uv sync --frozen && sudo chown -R vscode:vscode /workspaces/SeaCogs/.data", "postCreateCommand": "uv sync --frozen && sudo chown -R vscode:vscode /workspaces/SeaCogs/.data && uv run redbot-setup --no-prompt --instance-name=local --data-path=/workspaces/SeaCogs/.data --backend=json",
"remoteUser": "vscode" "remoteUser": "vscode"
} }