From 50a3d331d7dfe55565d212479a1aa8ff1aa40825 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:56:04 +0100 Subject: [PATCH] update readme --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index dc336a51..83886540 100644 --- a/README.md +++ b/README.md @@ -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