Skip to content

Commit caf2bf4

Browse files
committed
Update pisetup.md
Add instruction to generate SSL certificates.
1 parent 7bc51e2 commit caf2bf4

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

docs/software/pisetup.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,6 @@ Install all required dependencies for RPi + OAK:
437437
wget -qO- https://raw.githubusercontent.com/maxsitt/insect-detect/main/install_dependencies_oak.sh | sudo bash
438438
```
439439

440-
Optional: Install and configure [Rclone](https://rclone.org/docs/){target=_blank}
441-
if you want to use the upload feature:
442-
443-
``` bash
444-
wget -qO- https://rclone.org/install.sh | sudo bash
445-
```
446-
447440
Clone the [`insect-detect`](https://github.com/maxsitt/insect-detect){target=_blank}
448441
GitHub repo:
449442

@@ -469,6 +462,19 @@ Install all required packages in the virtual environment:
469462
env_insdet/bin/python3 -m pip install -r insect-detect/requirements.txt
470463
```
471464

465+
Generate self-signed SSL certificates to optionally enable HTTPS for the web app:
466+
467+
``` bash
468+
bash insect-detect/generate_ssl_certificates.sh
469+
```
470+
471+
**Optional**: Install and configure [Rclone](https://rclone.org/docs/){target=_blank}
472+
if you want to use the upload feature:
473+
474+
``` bash
475+
wget -qO- https://rclone.org/install.sh | sudo bash
476+
```
477+
472478
Your system is all set up and ready to go now! Run the scripts with the
473479
Python interpreter from the virtual environment:
474480

0 commit comments

Comments
 (0)