Skip to content

Repository files navigation

Getting started (using Docker)

git clone git@github.com:DAVKronos/webserver-py.git
docker compose up --build

Development environment

Launch with development settings:

docker compose -f docker-compose.yml -f docker-compose.dev.yml up

Debugging Python in VSCode

Modify .vscode/launch.json so that it contains:

 {
            "name": "Debug Python",
            "type": "debugpy",
            "request": "attach",
            "connect": {
            "port": 5678,
            "host": "localhost",
            },
            "justMyCode": false,
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}",
                    "remoteRoot": "/app"
                }
            ]
        },

Debugging React in VSCode

Modify .vscode/launch.json so that it contains:

        {
            "type": "chrome",
            "request": "launch",
            "name": "Debug React",
            "url": "http://localhost:8001",
            "webRoot": "${workspaceFolder}/frontend/app"
          },

About

This is the python webserver that runs kronos.nl

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages