874 B
874 B
Deployment
All runtime paths are resolved relative to the repository by default and can be overridden with environment variables.
LS_DATABASE_URL: SQLAlchemy database URL.LS_REPLAY_MEDIA_DIR: server-local directory containing replay files.
Linux and macOS
Run ./start.sh. The script resolves its own directory and does not depend on /workspace.
Windows
- Create a virtual environment with
py -m venv backend\.venv. - Install dependencies with
backend\.venv\Scripts\pip install -r backend\requirements.txt. - Optionally set
LS_REPLAY_MEDIA_DIRto an absolute media directory. - Run
powershell -ExecutionPolicy Bypass -File .\start.ps1. - In another terminal, run
npm installandnpm run devfromfrontend.
Replay records store paths relative to LS_REPLAY_MEDIA_DIR. Absolute paths and parent-directory traversal are rejected.