Files
status-python-sdk/docs/utils.md
T
2026-06-17 18:56:45 +03:00

22 lines
686 B
Markdown

# Utils
![Utils header image](./images/overview-utils.png)
Helper functions for setting up the Status Backend environment.
## Methods
### `launch_docker_container()`
Launch Status Backend Docker container in the background using `docker-compose.yaml`. If `docker` is not installed, or if the container fails to start, an **exception will be raised** with the error message from Docker.
```python
from bot import launch_docker_container
launch_docker_container()
```
**Windows Note**: In Docker go to `Settings > Resources > WSL integration` and make sure `Enable integration with my default WSL distro` and `Ubuntu` are **turned on**.
![Image of Note](./images/wsl-docker.png)