From fc4c270bda5832e428e0e2003d64b8dc4b2c62a4 Mon Sep 17 00:00:00 2001 From: Eben Date: Sun, 11 Oct 2020 01:38:24 +0100 Subject: [PATCH] updating readme with autostart stream at boot --- .DS_Store | Bin 8196 -> 8196 bytes README.md | 12 +++++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.DS_Store b/.DS_Store index 4f4eac3c8043f1ab1f13ed30be6abec616fc1f4d..6f7da4d252c41b805a7f06d3d43c2a32c4a1825e 100644 GIT binary patch delta 29 lcmZp1XmQx^P+;;Ep`V-A3EpSgd`QNLd13?4W_F3c>;TTi47dOQ delta 133 zcmZp1XmQx^P{8nHQbA5;afyM!bw(y;7FITP4h}9ZE?%zK;Eeq8;F83W(qgB?qG%8= zAh9GPDRHv8peGXt$K*Ca1wC<9LtD>;+{&uzn%cUV3}C>>2%#DHp)`z|wfVZ>Bc{#M QWb&9NHt=j_m-x#L0ISL&`~Uy| diff --git a/README.md b/README.md index 9fe8c7e..5fa6d77 100644 --- a/README.md +++ b/README.md @@ -61,14 +61,10 @@ sudo python3 /home/pi/pi-camera-stream-flask/main.py ## Step 3 – Autostart your Pi Stream -Optional: A good idea is running your Pi Camera stream at Pi boot up. This removes the need to re-run the script every time you want to create the stream. -You can do this by going adding the boot up code the .bashrc file. - -Via the Desktop GUI - right click in your /home/pi/ directory -> show hidden -> open .bashrc and add the code. -Or alternatively access via terminal: +Optional: A good idea is using a Chron tab to make auto start the camera stream at start up of your pi. You will not need to re-run the script every time you want to create the stream. You can do this by going editing the /etc/profile to: ``` -sudo nano /home/pi/.bashrc +sudo nano /etc/profile ``` Go the end of the and add the following (from above): @@ -76,7 +72,9 @@ Go the end of the and add the following (from above): ``` sudo python3 /home/pi/pi-camera-stream-flask/main.py ``` -This would cause the following terminal command to auto-start upon Raspberry Pi boot up. + +This would cause the following terminal command to auto-start each time the Raspberry Pi boots up. This in effect creates a headless setup - which would be accessed via SSH. +Note: make sure SSH is enabled. ## Download Beta image of Raspberry Pi Camera Stream Any troubles installing, try out the already compiled Raspberry Pi (Raspbian OS) Image of [Raspberry Pi Camera Stream](https://smartbuilds.io).