diff --git a/README.md b/README.md index 1322378d90259eecd0b5a60afc5e4f3ac71c044c..f7e87354a73fd82449fd14d92b54eafcac6fa1c7 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,61 @@ Projet de controle / commande de drone convertible (le mavion) par IA (Reinforcement learning) - Application de divers algo de RL et test de l'approche TD-MPC -ref : +ref : - https://www.tdmpc2.com/ + +## Prerequisites + +- Python > 3.9 +- Poetry +- Git + +## âš™ï¸ Setup + +1. **Clone the repository** + + Use the following command to clone the repository: + + ```bash + git clone git@gitlab.isae-supaero.fr:p.pastor/i-mav.git + ``` + +2. **Install poetry** + + Poetry is a tool for dependency management in Python. Install it with the following command: + + ```bash + cd presetai + curl -sSL https://install.python-poetry.org | python - + ``` + +3. **Install dependencies** + + Use Poetry to install the project dependencies: + + ```bash + poetry install + ``` + +4. **Activate the virtual environment** + + Poetry creates a virtual environment for the project. To activate it, run the following command: + + ```bash + poetry shell + ``` + +5. **Modify the dependencies** + + Inside this project, use poetry as a package / dependency manager. E.g if you need to add scikit-learn, run: + + ```bash + poetry add scikit-learn@^1.4.0 + ``` + + Or simply: + + ```bash + poetry add scikit-learn@^1.4.0 + ```