Installation¶
This guide will help you install and set up hier-config-api.
Prerequisites¶
- Python 3.10 or higher
- Poetry for dependency management
- Git (for cloning the repository)
From Source¶
1. Clone the Repository¶
2. Install Dependencies¶
Using Poetry (recommended):
This will:
- Create a virtual environment
- Install all dependencies from
pyproject.toml - Install hier-config-api in development mode
3. Verify Installation¶
Run the tests to ensure everything is working:
You should see output indicating all tests passed:
Development Setup¶
If you're planning to develop or contribute, install the development dependencies:
This includes additional tools:
pytest- Testing frameworkruff- Linter and formattermypy- Type checkermkdocs- Documentation builder
Docker Setup (Optional)¶
A Docker setup is planned for future releases. For now, use the Poetry installation method.
Next Steps¶
Once installed, proceed to the Quick Start guide to run your first API server.