Simplify local dev (#137)

This commit is contained in:
Charles Bochet
2023-05-25 15:56:28 +02:00
committed by GitHub
parent 80f9cc8797
commit 34543b7fea
17 changed files with 59 additions and 171 deletions

View File

@ -1,16 +1,10 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-in-docker
{
"name": "Twenty",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
{
"name": "Twenty Codespace",
"image": "node:18.16.0",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "20.10",
"enableNonRootDocker": "true",
"moby": "true"
}
"ghcr.io/devcontainers-contrib/features/jshint:2": {}
},
"postCreateCommand": ".devcontainer/init.sh",
"postStartCommand": ".vscode/up.sh"
}
"forwardPorts": [3000, 3001, 5432],
"postCreateCommand": "cd front && npm install && cd ../server && npm install"
}

View File

@ -2,5 +2,6 @@
DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y postgresql-client
cd infra/dev
make build
make up