git clone https://github.com/dstackai/dstack
cd dstackhttps://docs.astral.sh/uv/getting-started/installation
curl -LsSf https://astral.sh/uv/install.sh | shWarning
Building documentation requires python_version >= 3.11.
uv sync --all-extrasdstack will be installed into the project's .venv in editable mode.
Code formatting and linting can be done automatically on each commit with pre-commit hooks:
uv run pre-commit installTo preview the documentation, run the follow command:
uv run mkdocs serve -w examples -sIf you want to build static files, you can use the following command:
uv run mkdocs build -s