Simplify run script.

This commit is contained in:
2025-08-15 09:07:56 -07:00
parent 80a9872d56
commit 599e521719

11
run.sh
View File

@@ -3,11 +3,8 @@
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
cd $DIR
rm -rfv public
mkdir -pv public
# Create Production Files
hugo --gc --minify
if [[ ! -f static/style.css ]]; then
cp -rv themes/lugo/static/style.css static/
fi
hugo server -D --noBuildLock
# Run Development Environment (includes drafts)
hugo server -D --noBuildLock --bind=0.0.0.0