-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into major-changes-by-unibe
- Loading branch information
Showing
44 changed files
with
567 additions
and
564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// 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-existing-docker-compose | ||
{ | ||
"name": "ZMS Development Environment", | ||
// Update the 'dockerComposeFile' list if you have more compose files or use different names. | ||
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make. | ||
"dockerComposeFile": ["../docker-compose.yml", "docker-compose.yml"], | ||
// The 'service' property is the name of the service for the container that VS Code should | ||
// use. Update this value and .devcontainer/docker-compose.yml to the real service name. | ||
"service": "zope", | ||
// The optional 'workspaceFolder' property is the path VS Code should open by default when | ||
// connected. This is typically a file mount in .devcontainer/docker-compose.yml | ||
"workspaceFolder": "/home/zope/", | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
// Uncomment the next line if you want start specific services in your Docker Compose config. | ||
// "runServices": [], | ||
// Uncomment the next line if you want to keep your containers running after VS Code shuts down. | ||
"shutdownAction": "stopCompose", | ||
// Uncomment the next line to run commands after the container is created. | ||
// "postCreateCommand": "cat /etc/os-release", | ||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance" | ||
// "ms-python.autopep8" | ||
], | ||
"settings": { | ||
"terminal.integrated.defaultProfile.linux": "bash", | ||
"python.defaultInterpreterPath": "/home/zope/venv/bin/python", | ||
"window.zoomLevel": 0, | ||
"git.ignoreMissingGitWarning": true, | ||
"editor.minimap.enabled": false, | ||
"editor.renderWhitespace": "all", | ||
"editor.renderControlCharacters": false, | ||
"workbench.iconTheme": "vs-minimal", | ||
"files.associations": { | ||
"*.zpt": "html", | ||
"*.zcml": "xml" | ||
}, | ||
"scm.alwaysShowActions": true, | ||
"files.exclude": { | ||
"*.pyc": true, | ||
"*-all.min.*": true, | ||
"**/cache/**": true, | ||
"**/Data.*": true | ||
}, | ||
"search.exclude": { | ||
"**/apidocs/**": true | ||
}, | ||
"files.eol": "\n", | ||
"files.autoSave": "afterDelay", | ||
"workbench.colorTheme": "Visual Studio Light", | ||
"python.linting.enabled": false, | ||
"python.formatting.provider": "none" | ||
// "python.testing.pytestEnabled": false, | ||
// "python.testing.unittestEnabled": true, | ||
// "python.testing.unittestArgs": [ | ||
// "-v", | ||
// "-s", | ||
// "./tests", | ||
// "-p", | ||
// "test*.py" | ||
// ], | ||
// "[python]": { | ||
// "editor.defaultFormatter": "ms-python.autopep8" | ||
// } | ||
} | ||
} | ||
} | ||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "devcontainer" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
services: | ||
zope: | ||
volumes: | ||
- .:/home/zope/workspace/:cached | ||
# Overrides default command so things don't shut down after the process ends. | ||
command: sleep infinity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"name": "ZMS-Docker", | ||
"path": "../.." | ||
}, | ||
], | ||
|
||
"launch": { | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "ZMS-Docker", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"justMyCode": false, | ||
"console": "integratedTerminal", | ||
"program": "/home/zope/venv/bin/runwsgi", | ||
"args": [ | ||
"--debug", | ||
"--verbose", | ||
"/home/zope/etc/zope.ini", | ||
], | ||
"env": { | ||
"PYTHONUNBUFFERED":"1", | ||
"CONFIG_FILE": "/home/zope/etc/zope.ini", | ||
"INSTANCE_HOME": "/home/zope/", | ||
"CLIENT_HOME": "/home/zope/", | ||
"PYTHON": "/home/zope/venv/bin/python", | ||
"SOFTWARE_HOME": "/home/zope/venv/bin" | ||
}, | ||
"serverReadyAction":{ | ||
"pattern":"Serving on http://0.0.0.0:80", | ||
"uriFormat": "http://admin:admin@127.0.0.1:80/manage_main", | ||
"action": "openExternally", | ||
}, | ||
}, | ||
] | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.