Page:
Setup Script
No results
3
Setup Script
Fr4nz D13trich edited this page 2025-10-16 17:02:25 +02:00
Table of Contents
LoMeS Setup
Requirements
- Meshtastic device
- RAK WISBlock & Heltec V3 will be supported on my end
- Linux machine running Debian
aptas package managersystemdas 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
sudoorrootprivileges - 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| cmdmkdir,openssl,chmod&cp - edits
nginx.conf(domain, ip, cert & key path) | cmdsed - removes default nginx welcome page | cmd
rm - checks
nginx.conf& reloads nginx | cmdnginx - reviews
log | /tmp/LoMeS/install_logfor errors - asks to start flask | cmd
flaskOR reboot ifhostnamechanged | cmdreboot