添加Codespace一键启动配置及管理命令提示

This commit is contained in:
puke committed 2026-01-29 08:39:50 +00:00
1 parent 2205a5a65b
commit e801ec3bbf
4 files changed
+85

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
echo "[devcontainer] Running postCreate tasks..."
cd /workspaces/Pixelle-Video
if [ -f scripts/codespace_setup.sh ]; then
bash scripts/codespace_setup.sh
fi
echo "[devcontainer] Installing Python dependencies..."
python -m pip install --upgrade pip
python -m pip install -e . || true
echo "[devcontainer] postCreate complete. You can start the app with .devcontainer/postStart.sh or let postStart run it automatically."