mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-26 10:54:12 +03:00
28 lines
1.1 KiB
JSON
28 lines
1.1 KiB
JSON
// These are GitHub Codespaces specific settings.
|
|
{
|
|
"name": "Wasp Todo App Tutorial",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": ["wasp-lang.wasp", "PKief.material-icon-theme"],
|
|
"settings": {
|
|
"workbench.iconTheme": "material-icon-theme"
|
|
}
|
|
}
|
|
},
|
|
"containerEnv": {
|
|
"WASP_TELEMETRY_CONTEXT": "codespaces"
|
|
},
|
|
"forwardPorts": [3000, 3001],
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "React-Vite Client"
|
|
},
|
|
"3001": {
|
|
"label": "NodeJS Server"
|
|
}
|
|
},
|
|
"onCreateCommand": "curl -sSL https://get.wasp-lang.dev/installer.sh | sh -s",
|
|
"postCreateCommand": "printf 'export WASP_WEB_CLIENT_URL=https://$CODESPACE_NAME-3000.app.github.dev\n' >> $HOME/.bashrc && printf 'export REACT_APP_API_URL=https://$CODESPACE_NAME-3001.app.github.dev\n' >> $HOME/.bashrc && echo 'gh codespace ports visibility 3000:public -c $CODESPACE_NAME\n' >> $HOME/.bashrc && echo 'gh codespace ports visibility 3001:public -c $CODESPACE_NAME\n' >> $HOME/.bashrc",
|
|
"workspaceFolder": "/workspaces/wasp/examples/tutorials/TodoApp"
|
|
}
|