Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Step by Step Howto

Kim - DG9VH edited this page Feb 20, 2021 · 2 revisions

Step by Step Howto

Point of Start

We are starting with a bare installation of Raspberry OS (lite). So first of all you have to keep clear that git and python3 are installed with:

sudo apt install git python3

Under normal conditions both will be installed already I think but this is a good point to start.

After this we need to install some further modules and software-packages:

sudo apt install python3-websockets python3-gpiozero python3-psutil python3-serial python3-pip

sudo pip3 install ansi2html

Then you should follow the installation steps described in the Readme.md: Installation steps

first of all (if not already done by installation of MMDVMHost): create a syetemuser with sudo adduser --system --no-create-home --group mmdvm also add the new user to the group "dialout" with sudo usermod -a -G dialout mmdvm add following line to /etc/sudoers with sudo visudo for getting the logtailer access to MMDVMHost:

www-data ALL=(ALL) NOPASSWD: /usr/local/bin/MMDVMHost

clone this repository to your home-directory with git clone --recurse-submodules -j8 https://github.com/dg9vh/MMDVMHost-Websocketboard to clone the repository with it's submodules create directory with sudo mkdir /opt/MMDVMDash copy all files from repository into this folder change ownership to user mmdvm for example with sudo chown -R mmdvm:mmdvm /opt/MMDVMDash modify logtailer.ini to fit your needs modify /html/js/config.js to fit your needs, here you can switch on/off tabs showing or enable debug for getting some output in javascript console. You should take a look into this file - here are different options you can configure. copy files in /opt/MMDVMDash/systemd to /etc/systemd/system or similar corresponding to your system modify both scripts to fit your needs enable services with following commmands, this results in starting both automatically after reboot:

sudo systemctl enable http.server.service

sudo systemctl enable logtailer.service

start services with following commmands:

sudo systemctl start http.server.service

sudo systemctl start logtailer.service

Finally you should be able to get the new Dashboard calling the hostname of your hotspot and port 8000 (default) in your broser

Clone this wiki locally