Add files via upload

This commit is contained in:
Tomáš Dvořák
2025-05-23 11:29:05 +02:00
committed by GitHub
parent 31efe469e5
commit 785009ce59
2 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -7,7 +7,7 @@ BINARY_NAME=contact-scrape
KONTAKT_BINARY=kontakt-service
BUILD_DIR=build
PORT=80
KONTAKT_PORT=8081
KONTAKT_PORT=8080
help: ## Show this help message
@echo "Available commands:"
@@ -120,7 +120,7 @@ monitor: ## Monitor the service with file watching
@while true; do \
inotifywait -e modify contacts.xlsx 2>/dev/null && \
echo "File changed, reloading..." && \
curl -X POST http://localhost:$(PORT)/kontakt/reload; \
curl -X POST http://webportal:$(PORT)/kontakt/reload; \
sleep 1; \
done
@@ -163,6 +163,6 @@ info: ## Show application information
@echo "Build dir: $(BUILD_DIR)"
@echo ""
@echo "Endpoints:"
@echo " http://localhost:$(PORT)/kontakt - Web interface"
@echo " http://localhost:$(PORT)/kontakt/contacts - JSON API"
@echo " http://localhost:$(PORT)/kontakt/reload - Reload data (POST)"
@echo " http://webportal:$(PORT)/kontakt - Web interface"
@echo " http://webportal:$(PORT)/kontakt/contacts - JSON API"
@echo " http://webportal:$(PORT)/kontakt/reload - Reload data (POST)"