Skip to content

Commit cfa60b5

Browse files
committed
yarn installation and docs clarification
1 parent 2435cd1 commit cfa60b5

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/InstructionsForDevelopers.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ You may access RA frontend at [http://127.0.0.1:7164/exercises/](http://127.0.0.
3838

3939
3) Developing procedure
4040

41-
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.
41+
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.
42+
43+
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.
4244

4345
### Using Docker compose
4446

scripts/develop_academy.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ if ! command -v nvm &> /dev/null; then
3939
source $NVM_DIR/nvm.sh;
4040
fi
4141

42+
# Prepare yarn
43+
if ! command -v yarn --version &> /dev/null; then
44+
npm install --global yarn
45+
fi
46+
4247
# Prepare the frontend
4348
nvm install 16
4449
nvm use 16
@@ -54,8 +59,7 @@ if [ $radi_version != "humble" ]; then
5459
fi
5560
cp compose_cfg/$compose_file docker-compose.yaml
5661

57-
5862
# Proceed with docker-compose commands
59-
docker-compose up;
60-
docker-compose down;
63+
docker compose up;
64+
docker compose down;
6165
rm docker-compose.yaml

0 commit comments

Comments
 (0)