File size: 1,195 Bytes
0ea8cc6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
    // This file is only used in Codespaces. If you are developing locally, you can remove the .devcontainer directory without consequences

    "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18-bullseye",

    "hostRequirements": {
      "cpus": 4,
      "memory": "4gb",
      "storage": "32gb"
    },

    // Use 'postCreateCommand' to run commands after the container is created.
    "postCreateCommand": "mkdir .evidence/template && echo '{\"database\":\"duckdb\",\"credentials\":{\"filename\":\"needful_things.duckdb\",\"gitignoreDuckdb\":null}}' > .evidence/template/evidence.settings.json && rm .vscode/extensions.json && rmdir .vscode",
    // Configure tool-specific properties
    "customizations": {
      "vscode": {
        "extensions": [
          // "GitHub.codespaces",
          "evidence.evidence-vscode",
          "svelte.svelte-vscode"
        ]
      },
      "codespaces": {
        "openFiles": [
           "pages/index.md"
        ]
      }
    }
    // "forwardPorts": [3000]
  }
  // For format details, see https://aka.ms/devcontainer.json. For config options, see the
  // README at: https://github.com/devcontainers/templates/tree/main/src/python