Skip to content

Commit

Permalink
Merge pull request #184 from Fingerling42/main
Browse files Browse the repository at this point in the history
Code lines fixs for Feecc Course
  • Loading branch information
zirreal authored Nov 10, 2023
2 parents 05e7511 + 367c08a commit b14058b
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 119 deletions.
8 changes: 4 additions & 4 deletions courses/en/learn/feecc-course/feecc-analytics-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In this lesson, you will learn how to deploy the components of Feecc Analytics.

1. Clone the repository:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash" codeClass="big-code">
git clone https://github.com/Multi-Agent-io/feecc-analytics-backend.git
</LessonCodeWrapper>

Expand All @@ -27,7 +27,7 @@ git clone https://github.com/Multi-Agent-io/feecc-analytics-backend.git

3. Launch the backend container:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker-compose up -d --build
</LessonCodeWrapper>

Expand All @@ -37,15 +37,15 @@ sudo docker-compose up -d --build

1. Clone the repository:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash" codeClass="big-code">
git clone https://github.com/Multi-Agent-io/feecc-analytics-frontend.git
</LessonCodeWrapper>

2. Go to `src` and configure the frontend service for your needs using the `config.json` file. Be sure to enter the URL of Feecc Analytics Backend in the `base_url` parameter (in the form of `xx.xx.xx.xx:port`).

3. Launch the frontend container:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker-compose up -d --build
</LessonCodeWrapper>

Expand Down
8 changes: 4 additions & 4 deletions courses/en/learn/feecc-course/feecc-workbench-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ To run the demo, you will need:

Execute the following commands:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
git clone https://github.com/Multi-Agent-io/feecc-academy
cd feecc-academy
sudo docker compose up -d --build
</LessonCodeWrapper>

To check working containers, run the following:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker ps -a
</LessonCodeWrapper>

Expand All @@ -53,7 +53,7 @@ a74fa229eb90 robonomics/robonomics:sha-bd71a23 "robonomics --dev --…" 20

2. At this stage, the system should prompt the employee to place their RFID card on the scanner for authorization. In the demo, you can use `hid-emulator.py` for authorization. To do this, run a separate Docker container:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker exec -ti feecc_academy_hid_emulator sh
python3 hid-emulator.py
</LessonCodeWrapper>
Expand Down Expand Up @@ -195,7 +195,7 @@ Total Assembly Time (Including Components): 0:00:06

11. To delete the demo, enter the command:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker compose down --rmi all && docker builder prune -f
</LessonCodeWrapper>

Expand Down
16 changes: 8 additions & 8 deletions courses/en/learn/feecc-course/feecc-workbench-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ Before starting, connect all the necessary equipment to the computer or server:

1. Clone the repository:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash" codeClass="big-code">
git clone https://github.com/Multi-Agent-io/feecc-hid-reader-daemon.git
cd feecc-hid-reader-daemon
</LessonCodeWrapper>

2. Launch the daemon:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker-compose up -d --build
</LessonCodeWrapper>

## Launching Workbench Daemon

1. Clone the repository:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash" codeClass="big-code">
git clone https://github.com/Multi-Agent-io/feecc-workbench-daemon.git
cd feecc-workbench-daemon
</LessonCodeWrapper>
Expand All @@ -78,7 +78,7 @@ cd feecc-workbench-daemon

3. Launch the daemon:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker-compose up -d --build
</LessonCodeWrapper>

Expand All @@ -88,7 +88,7 @@ sudo docker-compose up -d --build

1. Clone the repository:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash" codeClass="big-code">
git clone https://github.com/Multi-Agent-io/feecc-ipfs-gateway.git
</LessonCodeWrapper>

Expand All @@ -97,15 +97,15 @@ git clone https://github.com/Multi-Agent-io/feecc-ipfs-gateway.git

3. Launch the microservice:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker-compose up -d --build
</LessonCodeWrapper>

## Launching Workbench Frontend

1. Clone the repository:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
git clone https://github.com/Multi-Agent-io/feecc-workbench-frontend.git
</LessonCodeWrapper>

Expand All @@ -117,7 +117,7 @@ git clone https://github.com/Multi-Agent-io/feecc-workbench-frontend.git

3. Launch the frontend container:

<LessonCodeWrapper language="bash" noLines>
<LessonCodeWrapper language="bash">
sudo docker-compose up -d --build
</LessonCodeWrapper>

Expand Down
Loading

0 comments on commit b14058b

Please sign in to comment.