webdebugger

This webb app show HTTP headers and other useful information

Development

Requirements

First, you must have make installed, to simplify all the operations. If you haven't, see Makefile for corresponding commands.

Then, you must have poetry installed. See https://python-poetry.org/docs/

Or just run

make install_poetry

After that, install dependencies

make requirements

or

poetry install --local

Run tests

make pytest

or

poetry run pytest -v

Run in docker container

Variables (make args)

  • APP_PORT app listen port and container port to expose
  • APP_DELAY delay, in seconds, before render web page

Commands (make targets)

Build image

make build

Build image and run tests

make docker-pytest

Run container

make docker-run

Run shell inside container

make docker-shell

Author

Aleksey Koloskov vsyscoder@gmail.com