mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
installer
This commit is contained in:
@@ -32,6 +32,11 @@ other features
|
||||
- `wxa` and `wxalert` returns NOAA alerts. short title or expanded details
|
||||
- `joke` tells a joke
|
||||
|
||||
## Install
|
||||
- Clone the project with `git clone https://github.com/spudgunman/meshing-around`
|
||||
- `install.sh` will automate optional venv and requirements install
|
||||
- `launch.sh` will activate and launch the app in the venv if built
|
||||
|
||||
### Configurations
|
||||
Currently config modifications is edit to code. Be sure to uncomment the appropriate interface for your method (serial/BLE/TCP). Only one at a time is supported to a single node at a time.
|
||||
|
||||
|
||||
@@ -27,12 +27,14 @@ if [ $venv == "y" ]; then
|
||||
|
||||
# install dependencies
|
||||
pip install -U -r requirements.txt
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Which bot do you want to install as a service? (pong/mesh/n)"
|
||||
read bot
|
||||
|
||||
|
||||
# reminder to change the .service file to proper path for the bot
|
||||
|
||||
if [ $bot == "pong" ]; then
|
||||
# install service for pong bot
|
||||
sudo cp etc/pong_bot.service /etc/systemd/system/
|
||||
@@ -47,7 +49,8 @@ fi
|
||||
|
||||
if [ $bot == "n" ]; then
|
||||
launch.sh
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# reminder to change the .service file to proper path for the bot
|
||||
echo "Goodbye!"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user