/
githubmirror
/
zulip
Обзор
Документация
Войти
/
githubmirror
/
zulip
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.devcontainer.json
40 строк
1 KB
Sachin Kumar
provision: Add native support for GitHub Codespaces.
27 апр 2026, 08:28
27 апр 2026, 08:28
2d44200
Код
Авторство
О чём код?
{ // Base development container for contributing to Zulip. "name": "Zulip", "image": "mcr.microsoft.com/devcontainers/base:debian-12", "features": { "ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/github-cli:1": {}, "ghcr.io/devcontainers/features/python:1": {} }, // Editor defaults and extensions to keep local/devcontainer behavior consistent. "customizations": { "vscode": { "extensions": [ "ms-python.python", "ms-python.vscode-pylance", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint" ], "settings": { "python.createEnvironment": false, "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", "[python]": { "editor.formatOnSave": true, "editor.defaultFormatter": "ms-python.python" } } } }, // Run Zulip's devcontainer/codespace provisioning script after container creation. "postCreateCommand": "bash tools/setup/provision-codespace", // Forward Zulip's internal development services and PostgreSQL. "forwardPorts": [9991], "portsAttributes": { // Development server proxy entrypoint for the web app. "9991": { "label": "Development Server Proxy", "onAutoForward": "notify" } } }