mirror of
https://github.com/apache/superset.git
synced 2026-05-07 17:04:58 +00:00
fix: Correct workspace paths for Codespaces
- Use /workspaces instead of /app for Codespaces compatibility - Fix postCreateCommand and postStartCommand paths - Make startup script more flexible with directory detection
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"../docker-compose-light.yml"
|
||||
],
|
||||
"service": "superset-node-light",
|
||||
"workspaceFolder": "/app",
|
||||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
||||
|
||||
// Use the light config for faster startup and lower resource usage
|
||||
"shutdownAction": "stopCompose",
|
||||
@@ -71,10 +71,10 @@
|
||||
},
|
||||
|
||||
// Run commands after container is created
|
||||
"postCreateCommand": "chmod +x /app/.devcontainer/start-superset.sh && echo '🚀 Superset Codespace ready! Run: .devcontainer/start-superset.sh to start'",
|
||||
"postCreateCommand": "chmod +x .devcontainer/start-superset.sh && echo '🚀 Superset Codespace ready! Run: .devcontainer/start-superset.sh to start'",
|
||||
|
||||
// Auto-start Superset on Codespace resume
|
||||
"postStartCommand": "cd /app && .devcontainer/start-superset.sh",
|
||||
"postStartCommand": ".devcontainer/start-superset.sh",
|
||||
|
||||
// Features to add to the dev container
|
||||
"features": {
|
||||
|
||||
Reference in New Issue
Block a user