This document describes the process for running the application locally.
Docker and Docker Compose.
You can optionally use Træfik for ease of exposing the site. Check out Træfik & Docker.
The very first time you set up the project you'll have to install dependencies, hence run:
docker compose build
docker compose run --rm -it site poetry install
docker compose run --rm -it site npm install
docker compose run --rm -it site npx playwright install chromium
After that, just run:
docker compose up -d
Easy peasy.
If you're using Træfik, the site should be available at marketlab.mcieno.internal
.
Otherwise, simply run docker compose ps
and find out which host port was
assigned to the containers.
This section contains a list of examples showcasing typical development interactions and operations.
docker compose exec -it site npm run test
docker compose exec -it site npm run lint
docker compose exec -it site npm run fmt