From 707d469ded63de6344f1d3c7e6482044f4bb317a Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Thu, 17 Nov 2022 18:05:10 +0000 Subject: [PATCH] update makefile. --- makefile | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 9bf5e47..a8e8418 100644 --- a/makefile +++ b/makefile @@ -4,16 +4,22 @@ help: @echo 'Usage: make [command]' @echo @echo 'Commands to run on server:' - @echo ' setup Install Debian packages and Quicklisp for website.' + @echo ' install Install Debian packages and Quicklisp for website.' @echo - @echo ' service Set-up and start systemd service.' + @echo ' quicklisp-add Add repo. to Quicklisp local-projects directory.' @echo - @echo ' http Add ritherdon-archive to nginx (http only).' + @echo ' service Set-up and start systemd service.' @echo - @echo ' run Run ritherdon-archive (port 5000).' + @echo ' add-search Install Meilisearch instance.' + @echo + @echo ' http Add ritherdon-archive to nginx (http only).' + @echo + @echo ' run-prod Run ritherdon-archive (port 5000) in prod. environment.' + @echo + @echo ' run-dev Run ritherdon-archive (port 5000) in dev. environment.' @echo @echo 'Default target:' - @echo ' help Show this help message.' + @echo ' help Show this help message.' # Commands for Server # ============================================================================== @@ -39,6 +45,16 @@ service: systemctl start ritherdon-archive @echo 'systemd set-up and running.' +add-search: + @echo 'Installing and setting up Meilisearch instance... NOT IMPLEMENTED' +# Download meilisearch +# Setup filters and sorting order +# Add nginx conf file + sytemctl enable "conf/meilisearch.service" + systemctl daemon-reload + systemctl start meilisearch + @echo 'Meilisearch set-up and running.' + http: @echo 'Adding ritherdon-archive to nginx... NOT IMPLEMENTED' systemctl restart nginx