You'll need to make sure you have Git, Python, and NodeJS installed! Clone the repository with: git clone https://github.com/DU-DIVALab/tutorflow and ensure its up to date with git pull
cd backend
pip install -r requirements.txt
python main.py download-files
python distill.py
vi secrets.sh
Now, you'll need to enter the secrets:
#!/usr/bin/env bash
# doesn't work lmfao, just copypaste
alias python='python3'
export LIVEKIT_URL='wss://org-project-ab1cd23e.livekit.cloud'
export LIVEKIT_API_KEY='API0aaBBBcDEEfG'
export LIVEKIT_API_SECRET='aB1Cde2a1BaCdD3DEfGh4IJKLMNOPQrS0TUV7WxYYZz'
export DEEPGRAM_API_KEY='1111aab22c33d4444444444e5fffff5g666h7ii8'
export OPENAI_API_KEY='sk-proj-these-are-dummy-values-btw'
:wq!, alright now let's cd out: cd ..
cd frontend
pnpm install
mv .env.example .env.local
You know the drill, vi .env.local blah blah blah. You also need your certs in the "certs" folder, mkdir certs, mv etc/idk/wherever/they/are/* ./certs
Cd out again cd ..
screen -S backend cd backend source secrets.sh python main.py dev Control + A; D
screen -S frontend cd frontend sudo pnpm deploy-cci Control + A; D