add build and deploy to make file

This commit is contained in:
dominic
2025-04-24 22:28:01 -04:00
parent afe67db285
commit 9cdee244f8
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -21,3 +21,10 @@ db/seed/f:
img/clear:
rm -rf ./web/static/media/posts || true
build:
go build -o ./out/comfychan ./web
deploy:
sudo cp ./out/comfychan /srv/comfychan/
sudo chown root:root /srv/comfychan/comfychan