Skip to content

Commit

Permalink
Add plone build to the dev container.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiru committed Nov 30, 2024
1 parent 1d319fb commit cccaf61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#/bin/sh
`which python3.12` -m venv .
./bin/pip install -r requirements.txt
./bin/buildout
echo "run plone with: ./bin/instance fg"
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
},

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip3 install --user -r requirements.txt"
"postCreateCommand": "./.devcontainer/devcontainer-build.sh"
}

0 comments on commit cccaf61

Please sign in to comment.