PROJECT-TEMPLATE

📋 Table of contents
- [PROJECT-TEMPLATE](#PROJECT-TEMPLATE) - [Description](#description) - [🛠️ Prerequisites](#%EF%B8%8F-prerequisites) - [Getting started](#getting-started) - [Usage](#usage) - [📖 Generate Documentation Site](#-generate-documentation-site) - [Testing](#testing) - [Team](#team) - [License](#license)Description
🛠️ Prerequisites
- Git: Ensure that git is installed on your machine. Download Git
- Python 3.12: Required for the project. Download Python
- UV: Used for managing Python environments. Install UV
- Docker (optional): For DevContainer development. Download Docker
Getting started
- Clone the repository:
sh
git clone https://github.com/CogitoNTNU/PROJECT-TEMPLATE.git
cd PROJECT-TEMPLATE
- Install dependencies:
sh
uv sync
- Set up pre commit (only for development):
sh uv run pre-commit install
Usage
To run the project, run the following command from the root directory of the project:
📖 Generate Documentation Site
To build and preview the documentation site locally:
uv run mkdocs build
uv run mkdocs serve
This will build the documentation and start a local server at http://127.0.0.1:8000/ where you can browse the docs and API reference. Get the documentation according to the lastes commit on main by viewing the gh-pages
branch on GitHub: https://cogitontnu.github.io/PROJECT-TEMPLATE/.
Testing
To run the test suite, run the following command from the root directory of the project:
uv run pytest --doctest-modules --cov=src --cov-report=html
Team
This project would not have been possible without the hard work and dedication of all of the contributors. Thank you for the time and effort you have put into making this project a reality.
License
Distributed under the MIT License. See LICENSE
for more information.