quick script for local builds

This commit is contained in:
John Bowdre 2023-11-05 19:51:51 -06:00
parent 92e1d50f1b
commit 9ed755ff86
2 changed files with 14 additions and 5 deletions

12
.gitignore vendored
View file

@ -1,6 +1,8 @@
.hugo_build.lock
node_modules/
package-lock.json
package.json
public/
resources/
/node_modules/
/package-lock.json
/package.json
/public/
/resources/
/.env

7
build.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Quick script to run local builds
source .env
hugo --minify --environment local
npx torchlight
python3 -m http.server --directory public 1313