# Sci-Fi Book Showcase # Default target: build the site default: build # Build the site (embeds summaries into books.json) build: node build.js # Start webserver and open in Firefox open: -pkill -f "serve.js" 2>/dev/null sleep 1 node serve.js 9090 & sleep 1 firefox http://localhost:9090 # Stop the webserver stop: -pkill -f "serve.js" 2>/dev/null # Deploy dist directory to remote server dist: rsync -avz --delete dist/ f0:/data/nfs/k3svolumes/apache/scifi/