update readme

This commit is contained in:
aler9 2023-02-05 15:56:04 +01:00
parent efa12dc73a
commit 50a3d331d7

View File

@ -514,26 +514,25 @@ go tool pprof -text http://localhost:9999/debug/pprof/profile?seconds=30
### Compile and run from source
Install Go 1.18, download the repository, open a terminal in it and run:
Install Go ≥ 1.18, download the repository, open a terminal in it and run:
```sh
go run .
```
Compilation for all supported platform can be launched by using:
```sh
make binaries
```
In order to compile and run with support for the Raspberry Pi Camera:
```sh
cd internal/rpicamera/exe
make
cd ../../../
go build -tags rpicamera
./rtsp-simple-server
go run -tags rpicamera .
```
Compilation for all supported platform can be launched by using:
```sh
make binaries
```
## Publish to the server