Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 956 Bytes

File metadata and controls

60 lines (45 loc) · 956 Bytes

template

-- Add a short service description. --

Project

The project and its associated services are executed in Docker containers assembled in docker-compose. Interaction with the project occurs using make commands.

  • Python executable inside container: /opt/venv/app-4PlAip0Q/bin/python.
  • Project path inside container: /app.

Setup

Fill in the .env file, use .env.example:

$ cp .env.example .env

Build containers:

$ make container@build

Start containers:

$ make container@start

Prepare dev environment:

$ make project@build-dev

Restart containers:

$ make container@restart

Install pre-commit hooks, install pre-commit on your system first, then:

$ pre-commit install

For help with the available commands:

$ make help

Interaction with the project

Run console:

$ make container@console

Execute needed commands (examples):

$ python -m asyncio