From c59e69d186688095e77fc72add0e221b115feafb Mon Sep 17 00:00:00 2001 From: Javier Marcos <1271349+javuto@users.noreply.github.com> Date: Tue, 14 Jul 2026 09:07:07 +0200 Subject: [PATCH] Adding install_frontend job to Makefile --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b736fc90..d41865e1 100644 --- a/Makefile +++ b/Makefile @@ -161,6 +161,12 @@ install_api: install_cli: sudo cp $(OUTPUT)/$(CLI_NAME) $(DEST)/$(OUTPUT) +# Install frontend +# optional DEST=destination_path +install_frontend: + sudo rsync -av $(FRONTEND_DIR)/$(DIST)/ $(DEST)/$(FRONTEND_DIR)/ + sudo chown -R www-data:www-data $(DEST)/$(FRONTEND_DIR) + # Display systemd logs for TLS server logs_tls: sudo journalctl -f -t $(TLS_NAME)