From 050137c932cd600bd991d159706cdb5d92f5b775 Mon Sep 17 00:00:00 2001 From: duro Date: Thu, 4 Jul 2024 12:13:14 +0200 Subject: [PATCH] Instrucciones lanzar entorno de desarrollador --- docs/index.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/index.md b/docs/index.md index 6ea080b..2070e1f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -77,6 +77,39 @@ First of all, we have to install all the requierements. You have detailed inform I have encountered several errors when launching the script that creates the developer environment. +So I had to reinstall nvm this way: +```bash +nvm use 16 +nvm install-latest-npm +``` + +And then reinstall yarn: +```bash +npm uninstall -g yarn +npm install -g yarn +``` + +### How to launch developer enviroment + +```bash +cd /RoboticsAcademy +``` +First we must launch the frontend like this: +```bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash +nvm install 16 +nvm use 16 +cd react_frontend/ && yarn install && yarn run dev +``` + +Finally we launch the script (in other terminal): +```bash +sudo sh scripts/develop_academy.sh +``` + + +Using `Ctrl+c` will stop them. + ## Contact You can contact me through [davidduro2002@gmail.com](mailto:davidduro2002@gmail.com).