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[@]}"
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# The local gate on the working tree, uncommitted edits included, without promoting:
|
||||
# the steps deploy/test-commit.sh runs on a commit; the profile's <name>-check runs it.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
||||
exec sh deploy/test-commit.sh --here
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# roledesk's own, beside the boilerplate's backend and check: one pull in the foreground, `app job pull`.
|
||||
# The profile's <name>-pull runs it; `.run/pull.run.xml` is the same command from PyCharm.
|
||||
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"
|
||||
exec uv run app job pull "$@"
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# roledesk's own, beside the boilerplate's backend and check: the queue drained with no web app, `app worker`.
|
||||
# The profile's <name>-worker runs it; `.run/worker.run.xml` is the same command from PyCharm.
|
||||
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"
|
||||
exec uv run app worker "$@"
|
||||
Reference in new issue
Block a user