Add scripts/run for local development
Build and Deploy / build-and-deploy (push) Successful in 1m18s

This commit is contained in:
2026-07-08 12:15:28 -04:00
parent a047338210
commit b7d2732207
4 changed files with 23 additions and 0 deletions
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
export PORT="${PORT:-8080}"
export PODSTALK_LINK="${PODSTALK_LINK:-http://localhost:$PORT}"
export PODSTALK_DB="${PODSTALK_DB:-podstalk.db}"
export PODSTALK_UPLOAD_DIR="${PODSTALK_UPLOAD_DIR:-uploads}"
echo "Starting Podstalk on http://localhost:$PORT"
go run .