move venv to shared (#1291)

This commit is contained in:
NotSoToothless
2026-05-31 01:43:19 -07:00
committed by GitHub
parent c69478166b
commit 016041dc88
3 changed files with 50 additions and 14 deletions
+3 -4
View File
@@ -6,10 +6,9 @@
const DEPLOY_PATH = __dirname;
// Reuse SREBOT's venv by default — both bots share BOTS/SHARED and most
// runtime deps (discord.py, dotenv, …). Split into TSSBOT/.venv once the
// dep sets diverge meaningfully.
const PY_INTERPRETER = `${DEPLOY_PATH}/../SREBOT/.venv/bin/python`;
// Both bots share one venv at BOTS/SHARED/.venv, built from
// SHARED/requirements.txt (both bots also share BOTS/SHARED for code).
const PY_INTERPRETER = `${DEPLOY_PATH}/../SHARED/.venv/bin/python`;
module.exports = {
apps: [