Update stack.production.yml to deploy to macmini3
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Leopere 2025-03-07 12:54:19 -05:00
parent fa816e91a7
commit 67e4f0a70c
4 changed files with 47 additions and 0 deletions

1
.cursor Normal file
View File

@ -0,0 +1 @@

1
.cursor-workspace Normal file
View File

@ -0,0 +1 @@

1
.cursor.json Normal file
View File

@ -0,0 +1 @@

44
dev.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
# Function to start Hugo development server
function start_hugo() {
cd docker/showerloop/public
hugo server --disableFastRender --minify --gc --navigateToChanged -D --bind "0.0.0.0" --baseURL "http://localhost:1313/"
}
# Function for quick git commit and push
function quick_commit() {
git add . && git commit -m "Updates and improvements" && git push
}
# Function to start a new development session
function start_session() {
git pull
start_hugo
}
# Show usage if no arguments provided
if [ $# -eq 0 ]; then
echo "Usage:"
echo " ./dev.sh start - Pull latest changes and start Hugo server"
echo " ./dev.sh commit - Quick commit and push changes"
echo " ./dev.sh hugo - Start Hugo server only"
exit 1
fi
# Handle command line arguments
case "$1" in
"start")
start_session
;;
"commit")
quick_commit
;;
"hugo")
start_hugo
;;
*)
echo "Unknown command: $1"
exit 1
;;
esac