aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d9ee657..c4fc7e7 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,12 @@ clean:
touch .venv/touchfile
gui: .venv/touchfile
- ./.venv/bin/python web-project/src/solo_tool_web.py
+ ./.venv/bin/python web-project/src/solo_tool_web.py 8080
-.PHONY: all test clean gui
+install: deployment/solo-tool.service deployment/start-solo-tool.sh
+ sudo install -o root -g root -m 644 deployment/solo-tool.service /etc/systemd/system
+ sudo install -o root -g root -m 700 deployment/start-solo-tool.sh /var/lib/solo-tool
+ sudo systemctl daemon-reload
+ sudo systemctl enable --now solo-tool.service
+
+.PHONY: all test clean gui install