Skip to content

Commit 933ab76

Browse files
author
gireg.roussel
committed
review
1 parent a02191b commit 933ab76

File tree

4 files changed

+31
-11
lines changed

4 files changed

+31
-11
lines changed

deployment/edge/ansible/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@ Before launching ansible export a env to specify your local vio directory
22
```
33
export LOCAL_VIO_DIR=
44
```
5+
### Setup the edge
6+
7+
Install openssh-server on the edge:
8+
```bash
9+
sudo apt-get install openssh-server
10+
```
11+
Add public ssh key on the .ssh folder of the edge:
12+
```bash
13+
ssh-copy-id -i ~/.ssh/id_rsa.pub user@edge_ip
14+
```
15+
16+
Then, try to connect through:
17+
```bash
18+
ssh user@edge_ip
19+
```
20+
21+
Do not forget to install the google-cloud-storage package:
22+
```bash
23+
pip install google-cloud-storage==3.0.0
24+
```
25+
26+
27+
Install Docker on the edge help you with [this link](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
28+
Don't forget [post-installation](https://docs.docker.com/engine/install/linux-postinstall/) steps to run docker as a non-root user.
29+
30+
Install *make* on the edge:
31+
```bash
32+
sudo apt-get install build-essential
33+
```
534

635

736
### Install sshpass and the requirements
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
0
1+
0 OK
22
1 KO
33
2 KO

edge_model_serving/tflite_serving/tests/test_tflite_serving.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_get_models_should_return_6_models(self):
3131
# Given
3232
model_url = f"{self.base_url}/models"
3333
expected_models = [
34-
'duck_detection',
34+
"duck_detection",
3535
"marker_quality_control",
3636
"mobilenet_ssd_v2_coco",
3737
"mobilenet_ssd_v2_face",

edge_orchestrator/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,3 @@ Do not get confused with the `BUILDPLATFORM` variable, that matches the current
2323
Visit:
2424
- [Multi-platform build arguments](https://docs.docker.com/build/building/variables/#multi-platform-build-arguments) for more details on Build variables
2525
- [Multi-platform builds](https://docs.docker.com/build/building/multi-platform/) for more details on the Multi-platform build with Docker
26-
pg_config --version
27-
```
28-
29-
If not, install it using the following command:
30-
31-
MacOS:
32-
```bash
33-
brew install postgresql
34-
```

0 commit comments

Comments
 (0)