making server buildable

This commit is contained in:
Chris Cochrun 2023-06-13 07:34:00 -05:00
parent bc15f05603
commit ec3bde1191
6 changed files with 85 additions and 17 deletions

16
Makefile Normal file
View file

@ -0,0 +1,16 @@
all: build-server
build-server:
sbcl --eval '(ql:quickload "deploy")' --eval '(asdf:load-asd "/home/chris/dev/tfcconnection/tfcserver.asd")' --eval '(ql:quickload :tfcserver)' --eval '(push :deploy-console *features*)' --eval "(asdf:make :tfcserver)" --eval '(quit)'
serve:
hugo server --noHTTPCache
css:
NODE_ENV=development ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w
build-site:
rm -rf public && NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit && hugo --gc --minify
clean:
rm -rf public