mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
19 lines
748 B
Bash
Executable file
19 lines
748 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
# Render's preinstalled Rust toolchain directory is read-only. Maturin needs
|
|
# writable homes to install the repository's pinned toolchain during uv sync.
|
|
export RUSTUP_HOME="$PWD/.memory-pilot-rustup"
|
|
export CARGO_HOME="$PWD/.memory-pilot-cargo"
|
|
export PRISMA_BINARY_CACHE_DIR="$PWD/.memory-pilot-prisma"
|
|
python -m pip install uv==0.11.7
|
|
export UV_PROJECT_ENVIRONMENT="$PWD/.memory-pilot-venv"
|
|
uv sync --frozen --extra proxy --extra extra_proxy --no-default-groups
|
|
export PATH="$UV_PROJECT_ENVIRONMENT/bin:$PATH"
|
|
prisma generate --schema schema.prisma
|
|
(
|
|
cd ui/litellm-dashboard
|
|
npm ci
|
|
npm run build
|
|
)
|
|
rm -rf litellm/proxy/_experimental/out
|
|
cp -R ui/litellm-dashboard/out litellm/proxy/_experimental/out
|