Skip to content

Commit

Permalink
yarn installation and docs clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarMrZ committed Mar 29, 2024
1 parent 2435cd1 commit cfa60b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion docs/InstructionsForDevelopers.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ You may access RA frontend at [http://127.0.0.1:7164/exercises/](http://127.0.0.

3) Developing procedure

After running the script, the src folder will be created, which contains all the files of the RoboticsApplicationManager. You can create branches and commit normally to the RAM repo from inside that folder. For the rest of the changes, you can also work normally from the RoboticsAcademy folder, the contents of the src folder together with common boilerplate files are automatically ignored.
After running the script, the src folder will be created, which contains all the files of the RoboticsApplicationManager. You can create branches and commit normally to the RAM repo from inside that folder. For the rest of the changes, you can also work normally from the RoboticsAcademy folder, the contents of the src folder together with common boilerplate files are automatically ignored.

Whenever you want to finish developing, you just can close the script with Crtl+C. It will take care of cleaning files so you can restart again without any additional config.

### Using Docker compose

Expand Down
10 changes: 7 additions & 3 deletions scripts/develop_academy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ if ! command -v nvm &> /dev/null; then
source $NVM_DIR/nvm.sh;
fi

# Prepare yarn
if ! command -v yarn --version &> /dev/null; then
npm install --global yarn
fi

# Prepare the frontend
nvm install 16
nvm use 16
Expand All @@ -54,8 +59,7 @@ if [ $radi_version != "humble" ]; then
fi
cp compose_cfg/$compose_file docker-compose.yaml


# Proceed with docker-compose commands
docker-compose up;
docker-compose down;
docker compose up;
docker compose down;
rm docker-compose.yaml

0 comments on commit cfa60b5

Please sign in to comment.