-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Solution that creates SD card with Rasbian OS and modifies it for PATE Monitor installation - primarily by adding an installation script which need to be executed after the first boot.
Purpose of this application is to automate PATE Monitor creation/installation as much as possible, because one of the development goals is to be able to redeploy PARE Monitor quickly if/when a need rises. It is also beneficial for development time testing to periodically rebuild the whole platform to ensure that no configuration or dependency is lost accidentally.
There is no much of an architecture in this solution. It consists of two Python scripts, one for writing the SD card and another to install PARE Monitor once the Rasbian OS has started up.
Version numbering will follow writeds.py primarily, but each time the PATE Monitor installation script receives updates, the patch-level for this project is notched up by one (for example; 0.5.0 => 0.5.1).
Requirements are pretty simple:
- A Linux OS is needed (dev -files used, permissions, users etc...). Debian 9 or newer should be OK (
writesd.pyneeds Python 3.5.3 or newer). - Rasbian image based on Debian 10 (2019-09-26-raspbian-buster-lite.img) or newer is required (
install.pyrequires Python 3.7.3 or newer).
Usage should be very simple and does not require any special knowledge:
- Clone, copy or download this project and extract to a directory.
- Download and extract Rasbian image into the script's directory.
- As
root, enter script's directory and run./write.py. Follow instructions. - Insert written SD card into your Raspberry Pi and start it up.
- Login as
pi, assumerootprivileges (sudo su -) and run/boot/install.py. - After installer has completed, check logs for errors. If none are reported, PATE Monitor should be running - point your browser to your Raspberry Pi.