Refresh deploy/ and bin/ from the boilerplate at 09e144d (the release split between the distro and Windows, wsl-setup, the server config, USER 1000, python:3.15-slim) with roledesk's facts put back: no frontend stage, desk, plugins and seed copied, the extras passkeys, embeddings and llm, roles as the table the backup and the importer require, bin/pull.sh and bin/worker.sh with their profile commands, and Install Server.md and Install WSL.md as copies in place of the five old deployment docs
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
83e965dfeb
commit
a1f281a23a
40 files changed
+2226
-1287
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# The backend in the foreground until Ctrl-C: uv run app serve, on :8790. The profile's <name>-backend runs it.
|
||||
# Ours: `-v` and `--config` go before `serve`, where the app takes them, and every other argument
|
||||
# after it (`--reload`, `--port`), so `.run/serve.run.xml`'s `serve --reload` is `<name>-backend --reload`.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
||||
# A shell started by wsl.exe has not read the rc file that puts uv on PATH.
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
before=() after=()
|
||||
while (($#)); do
|
||||
case $1 in
|
||||
-v|--verbose) before+=("$1") ;;
|
||||
-c|--config) before+=("$1" "${2:?$1 needs a file}"); shift ;;
|
||||
--config=*) before+=("$1") ;;
|
||||
*) after+=("$1") ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
exec uv run app "${before[@]}" serve "${after[@]}"
|
||||
Reference in new issue
Block a user