Add scripts/run for local development
Build and Deploy / build-and-deploy (push) Successful in 1m18s
Build and Deploy / build-and-deploy (push) Successful in 1m18s
This commit is contained in:
Executable
+12
@@ -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 .
|
||||
Reference in New Issue
Block a user