Update latest information part

This commit is contained in:
Romain Bazile 2020-07-20 22:23:32 +02:00
parent ccd5da6f74
commit c4bc1fa32a

View file

@ -380,18 +380,20 @@ sudo reboot now
## Useful later maybe ## Useful later maybe
### Download the GitHub repo ### Update the cloned repository
At this link : https://github.com/tpollina/PlanktonScope/archive/master.zip
Unzip to a specific location: Updates are published on Github regurlarly. Make sure to update once in a while by running this command:
``` ```sh
unzip /home/pi/Downloads/PlanktonScope-master.zip -d /home/pi/ cd PlanktonScope
mv /home/pi/PlanktonScope-master /home/pi/PlanktonScope git pull
``` ```
This will pull and merge all the changes made since your last update.
### Update node-RED interface ### Update node-RED interface
To update the interface, you can just download the lastest .json file: To update the interface and make sure you run the latest version, you need to copy the json config file from the cloned repository to the Node-RED library:
``` ```sh
wget -P $HOME/.node-red https://raw.githubusercontent.com/tpollina/PlanktonScope/master/scripts/flows_planktonscope.json cp ~/PlanktonScope/flows/main.json ~/.node-red/lib/flows
``` ```
### Share WiFi via Ethernet ### Share WiFi via Ethernet