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
+7
View File
@@ -0,0 +1,7 @@
WRN 2026-07-08T09:54:27.062 ?.2071294 socket_watcher_start:184: Failed to remove stale socket /run/user/1000/nvim.2071294.0: no such file or directory
WRN 2026-07-08T09:54:27.062 ?.2071294 server_start:197: Failed to start server: permission denied: /run/user/1000/
WRN 2026-07-08T09:54:27.063 ui.2071293 tui_handle_term_mode:239: TUI: terminal mode 69 detected, state 2
WRN 2026-07-08T09:54:27.063 ui.2071293 tui_handle_term_mode:239: TUI: terminal mode 2026 detected, state 2
WRN 2026-07-08T09:54:27.063 ui.2071293 tui_handle_term_mode:239: TUI: terminal mode 2027 detected, state 3
WRN 2026-07-08T09:54:27.063 ui.2071293 tui_handle_term_mode:226: TUI: terminal mode 2031 unavailable, state 0
WRN 2026-07-08T09:54:27.063 ui.2071293 tui_handle_term_mode:226: TUI: terminal mode 2048 unavailable, state 0
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 .
+2
View File
@@ -54,6 +54,8 @@
<div class="form-group" style="flex: 1; min-width: 200px;"> <div class="form-group" style="flex: 1; min-width: 200px;">
<label for="podcast_author">Author</label> <label for="podcast_author">Author</label>
<input type="text" id="podcast_author" name="podcast_author" class="nb-input blue" <input type="text" id="podcast_author" name="podcast_author" class="nb-input blue"
value="{{.PodcastAuthor}}" />
</div>
<div class="form-group"> <div class="form-group">
<label for="podcast_image">Podcast Image</label> <label for="podcast_image">Podcast Image</label>
<div class="file-upload"> <div class="file-upload">
+2
View File
@@ -43,6 +43,8 @@
<div class="nb-form-group"> <div class="nb-form-group">
<label for="description">Description</label> <label for="description">Description</label>
<textarea id="description" name="description" class="nb-textarea" <textarea id="description" name="description" class="nb-textarea"
rows="4">{{if .Editing}}{{.Episode.Description}}{{end}}</textarea>
</div>
<div class="nb-form-group"> <div class="nb-form-group">
<label for="audio_file">Audio File</label> <label for="audio_file">Audio File</label>
<div class="file-upload"> <div class="file-upload">