Installation¶
This guide will walk you through setting up the project for local development.
Prerequisites¶
Before you begin, ensure you have the following installed:
- Docker and Docker Compose: For running the application and its services in a containerized environment.
- Python 3.11+: For running the application locally.
- Poetry: For managing Python dependencies.
Installation Steps¶
-
Clone the repository:
-
Install Python dependencies: Use Poetry to install the required Python packages.
This command will create a virtual environment and install all dependencies defined in
pyproject.toml. -
Install pre-commit hooks: This project uses pre-commit hooks to enforce code quality. Install them by running:
-
Install UI dependencies: The frontend assets are built using Node.js.
Using as a Template¶
This repository is designed to be used as a template for new projects.
-
Create a new repository from this template: Click the "Use this template" button on the GitHub repository page to create a new repository with the same structure and files.
-
Rename the project: After cloning your new repository, run the
rename_project.pyscript to update the project name throughout the codebase.This will replace all occurrences of "Starter App" and its variants (e.g.,
starter-app,starter_app) with your new project name. It is recommended to run with the--dry-runflag first to see the changes before they are applied.