Update environment

main
nonnonstop 2023-04-02 10:19:11 +00:00
parent dadee46aef
commit ed3d7aa850
No known key found for this signature in database
GPG Key ID: 86B5CF70666F1AC5
4 changed files with 1625 additions and 4 deletions

View File

@ -0,0 +1,35 @@
{
"name": "Debian",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "16"
},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.10"
}
},
"mounts": [
{
"type": "bind",
"source": "${localEnv:HOME}/.gitconfig",
"target": "/home/vscode/.gitconfig"
},
{
"type": "bind",
"source": "${localEnv:HOME}/.gnupg",
"target": "/home/vscode/.gnupg"
},
{
"type": "volume",
"source": "sd-webui-3d-open-pose-editor-venv",
"target": "${containerWorkspaceFolder}/.venv"
},
{
"type": "volume",
"source": "sd-webui-3d-open-pose-editor-nodemodules",
"target": "${containerWorkspaceFolder}/node_modules"
}
],
"postCreateCommand": "bash .devcontainer/init.sh"
}

8
.devcontainer/init.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
echo "export GPG_TTY=\$(tty)" >> ~/.bashrc
sudo chown vscode:vscode .venv
pipenv install
sudo chown vscode:vscode node_modules
pnpm install

5
.gitignore vendored
View File

@ -185,8 +185,5 @@ cython_debug/
#.idea/
# Custom
/javascript/lazy/*.map
/javascript/*.map
/stats.html
package-lock.json
Pipfile.lock
.pnpm-store/

1581
Pipfile.lock generated Normal file

File diff suppressed because it is too large Load Diff