Skip to content

Commit d9fcfb0

Browse files
authored
fix: update tutorial paths in README and Dockerfile for correct directory structure (#1031) (#583)
1 parent a9160a0 commit d9fcfb0

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

samples/real-time/tcc_tutorial/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Please follow the steps described in [Install the Docker Compose standalone](htt
6868
```bash
6969
git clone https://github.com/intel/edge-developer-kit-reference-scripts.git .
7070

71-
cd edge-developer-kit-reference-scripts/usecases/real-time/tcc_tutorial/docker/docker-compose
71+
cd edge-developer-kit-reference-scripts/samples/real-time/tcc_tutorial/docker/docker-compose
7272

7373
docker-compose up -d
7474

@@ -97,22 +97,22 @@ You should see a similar dashboard like the screenshot above. If the dashboard i
9797
To build the Docker image, run the following command in the directory containing your Dockerfile:
9898

9999
```bash
100-
cd edge-developer-kit-reference-scripts/usecases/real-time/tcc_tutorial/
100+
cd edge-developer-kit-reference-scripts/samples/real-time/tcc_tutorial/
101101
docker build -t rt_linux_tutorial_image -f docker/Dockerfile.rt .
102102
```
103103
Run the Docker container in interactive mode, to start the rt_linux_tutorial app:
104104
```bash
105105
docker run -it --privileged --rm --network docker-compose_stats rt_linux_tutorial_image
106106

107-
./rt_linux_tutorial -i 1000 -s 1
107+
sudo ./rt_linux_tutorial -i 1000 -s 1
108108

109109
```
110110
-----
111111
#### Build the docker image for the AI Object Classification Demo from OpenVINO Model Zoo
112112
To build the Docker image, run the following command in the directory containing your Dockerfile:
113113

114114
```bash
115-
cd edge-developer-kit-reference-scripts/usecases/real-time/tcc_tutorial/
115+
cd edge-developer-kit-reference-scripts/samples/real-time/tcc_tutorial/
116116
docker build -t ai_obj_class_demo_image -f docker/Dockerfile.ai .
117117
```
118118
Run the Docker container in interactive mode, to start the classification_demo app:

samples/real-time/tcc_tutorial/docker/Dockerfile.rt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ WORKDIR /home/rtuser
6969
RUN git clone https://github.com/intel/edge-developer-kit-reference-scripts.git
7070

7171
# Set the working directory for the non-root user
72-
WORKDIR /home/rtuser/edge-developer-kit-reference-scripts/usecases/real-time/tcc_tutorial
72+
WORKDIR /home/rtuser/edge-developer-kit-reference-scripts/samples/real-time/tcc_tutorial
7373

7474
# Build the project
7575
RUN make
@@ -79,9 +79,9 @@ RUN chmod +x rt_linux_tutorial
7979

8080
# Allow root privilige to app and scripts
8181
USER root
82-
RUN echo "rtuser ALL=(ALL) NOPASSWD: /home/rtuser/edge-developer-kit-reference-scripts/usecases/real-time/tcc_tutorial/rt_linux_tutorial" >> /etc/sudoers
83-
RUN echo "rtuser ALL=(ALL) NOPASSWD: /home/rtuser/edge-developer-kit-reference-scripts/usecases/real-time/tcc_tutorial/setCacheAllocation.sh" >> /etc/sudoers
84-
RUN echo "rtuser ALL=(ALL) NOPASSWD: /home/rtuser/edge-developer-kit-reference-scripts/usecases/real-time/tcc_tutorial/setCoreFrequency.sh" >> /etc/sudoers
82+
RUN echo "rtuser ALL=(ALL) NOPASSWD: /home/rtuser/edge-developer-kit-reference-scripts/samples/real-time/tcc_tutorial/rt_linux_tutorial" >> /etc/sudoers
83+
RUN echo "rtuser ALL=(ALL) NOPASSWD: /home/rtuser/edge-developer-kit-reference-scripts/samples/real-time/tcc_tutorial/setCacheAllocation.sh" >> /etc/sudoers
84+
RUN echo "rtuser ALL=(ALL) NOPASSWD: /home/rtuser/edge-developer-kit-reference-scripts/samples/real-time/tcc_tutorial/setCoreFrequency.sh" >> /etc/sudoers
8585
USER rtuser
8686

8787
# Healthcheck

0 commit comments

Comments
 (0)