diff --git a/.devcontainer/demo/devcontainer.json b/.devcontainer/demo/devcontainer.json index fc140056..16968fbc 100644 --- a/.devcontainer/demo/devcontainer.json +++ b/.devcontainer/demo/devcontainer.json @@ -4,6 +4,9 @@ "service": "web", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "overrideCommand": false, + "hostRequirements": { + "cpus": 4 + }, "forwardPorts": [8000], "portsAttributes": { "8000": { @@ -16,11 +19,56 @@ "openFiles": [] }, "vscode": { + "extensions": [], "settings": { "chat.disableAIFeatures": true, - "workbench.startupEditor": "none", + "telemetry.telemetryLevel": "off", "workbench.tips.enabled": false, - "git.openRepositoryInParentFolders": "never" + "workbench.startupEditor": "none", + "workbench.editor.enablePreview": false, + "security.workspace.trust.enabled": false, + "extensions.autoCheckUpdates": false, + "extensions.ignoreRecommendations": true, + "git.enabled": false, + "git.autorefresh": false, + "git.decorations.enabled": false, + "scm.diffDecorations": "none", + "editor.minimap.enabled": false, + "editor.quickSuggestions": { + "other": "off", + "comments": "off", + "strings": "off" + }, + "editor.suggestOnTriggerCharacters": false, + "editor.wordBasedSuggestions": "off", + "editor.parameterHints.enabled": false, + "editor.codeLens": false, + "editor.lightbulb.enabled": "off", + "editor.inlayHints.enabled": "off", + "editor.occurrencesHighlight": "off", + "editor.selectionHighlight": false, + "editor.renderLineHighlight": "none", + "editor.renderWhitespace": "none", + "editor.formatOnSave": false, + "editor.accessibilitySupport": "off", + "breadcrumbs.enabled": false, + "terminal.integrated.enablePersistentSessions": false, + "terminal.integrated.gpuAcceleration": "off", + "files.watcherExclude": { + "**/.git/**": true, + "**/data/**": true, + "**/static/**": true, + "**/media/**": true, + "**/thirdparty/**": true, + "**/*.dist": true + }, + "search.exclude": { + "**/.git": true, + "**/data": true, + "**/static": true, + "**/media": true, + "**/thirdparty": true + } } } } diff --git a/README.rst b/README.rst index c50c82f0..b5716632 100644 --- a/README.rst +++ b/README.rst @@ -23,7 +23,7 @@ using GitHub Codespaces. The badge below launches a ready-to-use demo instance: the application starts automatically, with a demo account already created for you. .. image:: https://github.com/codespaces/badge.svg - :target: https://github.com/codespaces/new/aboutcode-org/dejacode?ref=main&devcontainer_path=.devcontainer%2Fdemo%2Fdevcontainer.json&quickstart=true + :target: https://github.com/codespaces/new/aboutcode-org/dejacode?ref=main&devcontainer_path=.devcontainer%2Fdemo%2Fdevcontainer.json&machine=standardLinux32gb&quickstart=true :alt: Open in GitHub Codespaces #. **Click** the badge above and **confirm** the creation of the Codespace. diff --git a/compose.demo.yml b/compose.demo.yml index c4aa6f8a..ed7b71a2 100644 --- a/compose.demo.yml +++ b/compose.demo.yml @@ -16,6 +16,8 @@ services: interval: 10s timeout: 5s retries: 5 + start_period: 30s + start_interval: 1s web: image: ghcr.io/aboutcode-org/dejacode:latest