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:
@@ -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
@@ -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 .
|
||||
@@ -54,6 +54,8 @@
|
||||
<div class="form-group" style="flex: 1; min-width: 200px;">
|
||||
<label for="podcast_author">Author</label>
|
||||
<input type="text" id="podcast_author" name="podcast_author" class="nb-input blue"
|
||||
value="{{.PodcastAuthor}}" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="podcast_image">Podcast Image</label>
|
||||
<div class="file-upload">
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
<div class="nb-form-group">
|
||||
<label for="description">Description</label>
|
||||
<textarea id="description" name="description" class="nb-textarea"
|
||||
rows="4">{{if .Editing}}{{.Episode.Description}}{{end}}</textarea>
|
||||
</div>
|
||||
<div class="nb-form-group">
|
||||
<label for="audio_file">Audio File</label>
|
||||
<div class="file-upload">
|
||||
|
||||
Reference in New Issue
Block a user