LoMeS Setup
Requirements
- Meshtastic device
- RAK WISBlock & Heltec V3 will be supported on my end
- Linux machine running Debian
apt as package manager
systemd as init system
I will try to broaden the range of host os possibilities along the way
Development Setup
- Setup 64bit Linux Debian on host machine
- Install git:
sudo apt install -y git
- Clone repository
git clone https://lab.c95.org/fr4nz/LoMeS.git && cd LoMeS
- Run development environment setup
chmod +x lomes-setup.sh && sudo ./lomes-setup.sh
- Start developing
What does the script do?
- checks for
sudo or root privileges
- searches & installs missing dependencies | cmd
apt
- gets some ID from your system (ip, network interface, hostname) | cmd
ip & hostname
- lets you change hostname (optional | reboot needed) | cmd
sed
- creates a certificate for
nginx | cmd mkdir, openssl, chmod & cp
- edits
nginx.conf (domain, ip, cert & key path) | cmd sed
- removes default nginx welcome page | cmd
rm
- checks
nginx.conf & reloads nginx | cmd nginx
- reviews
log | /tmp/LoMeS/install_log for errors
- asks to start flask | cmd
flask OR reboot if hostname changed | cmd reboot