Browse Source

update makefile.

stable
Craig Oates 1 year ago
parent
commit
707d469ded
  1. 26
      makefile

26
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

Loading…
Cancel
Save