From 1ce995ea5841c58e9d8df61b0901831996a45ff9 Mon Sep 17 00:00:00 2001 From: relikd Date: Thu, 1 Oct 2020 13:39:31 +0200 Subject: [PATCH] Make local server --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 4be64ef..bcb9da6 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ help: @echo ' push-list: replace custom lists like "Messengers", etc.' @echo ' remote-build: force-rebuild all remote files (index & html)' @echo ' local: force-rebuild all local files (index & html)' + @echo ' server: start local HTTP server' @echo '' @echo 'Usage:' @echo ' make push remote-build SSH=your_ssh_key' @@ -28,3 +29,7 @@ remote-build: ssh $(SSH) /var/www/de-appchk/src/main.py run '*' local: src/main.py run '*' +server: + @cd out + @open http://127.0.0.1 + python3 -m http.server 80