This webb app show HTTP headers and other useful information
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
make pycodestyle
or
poetry run pycodestyle webdebugger/
make pytest
or
poetry run pytest -v
make hadolint
This project use sematic versioning. See semver
For increasee version, use corresponding Makefile targets
version
- get versionversion-patch
- increase version patch numberversion-minor
- increase minor versionversion-major
- increase major version
NOTE: All chacges must be committed. All these actions, except version
, create new commit and add tag with version number.
docker-compose up
App will be available on you'r IP port 80
APP_PORT
app listen port and container port to exposeAPP_DELAY
delay, in seconds, before render web page
Build image
make build
Build image and run tests
make docker-pytest
Run container
make docker-run
Run shell inside container
make docker-shell
Aleksey Koloskov vsyscoder@gmail.com