Export python dependencies from poetry to requirements.txt
poetry export --without-hashes --format=requirements.txt > requirements.txt
# pytest -rpP
poetry poe tests
# pre-commit install --hook-type commit-msg --hook-type pre-push --hook-type pre-commit
poetry poe git-hooks-setup
Updating hooks automatically
# pre-commit autoupdate
poetry poe git-hooks-update
List all docker processes
docker build --file Dockerfile.dev --tag rearwing-dev .
docker build --file Dockerfile.prod --tag rearwing-prod .
docker run --detach --name rearwing-dev --publish 8081:8081 rearwing-dev
docker run --detach --name rearwing-prod --publish 80:80 rearwing-prod
docker stop rearwing-dev
docker stop rearwing-prod
docker restart rearwing-dev
docker restart rearwing-prod
List all docker processes
docker compose --file compose.dev.yaml ps
docker compose --file compose.dev.yaml build
docker compose --file compose.dev.yaml up --detach
Build and bring up the services
docker compose --file compose.dev.yaml up --build --detach
pm2 start process.config.js
pm2 stop process.config.js