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,22 @@
|
||||
#!/bin/sh
|
||||
# Once, inside the distro, for a checkout that lives in WSL: line endings, the
|
||||
# Linux .venv, and a test run to prove it works. deploy/wsl-setup.ps1 is the
|
||||
# Windows half. See docs/Install WSL.md, section 9 and Working from Windows.
|
||||
# Usage: sh deploy/wsl-setup.sh (from the checkout root)
|
||||
set -eu
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
# Windows Git (PyCharm) has core.autocrlf=true, so it writes CRLF into the
|
||||
# working tree, and Linux Git then reports every line of those files changed.
|
||||
# The repository's own setting wins over the Windows one for both.
|
||||
git config core.autocrlf false
|
||||
if [ -n "$(git diff --ignore-cr-at-eol --name-only)" ]; then
|
||||
echo "uncommitted changes beyond line endings - commit or stash them first:" >&2
|
||||
git diff --ignore-cr-at-eol --stat >&2
|
||||
exit 1
|
||||
fi
|
||||
# Rewrites the CRLF copies with LF. Nothing else differs, checked above.
|
||||
git checkout -- .
|
||||
|
||||
uv sync --all-extras
|
||||
uv run pytest -q
|
||||
Reference in new issue
Block a user