Skip to content

ODU-CS410-SU25-EMERALD/fy25-06-Emerald-TemperedAI

Repository files navigation

Team Emerald- Fall 2025

Members

Instructions for Running Production Server

First Time Set Up

  1. Note: These commands are written assuming the reader is using Windows Powershell and has scoop package manager installed
  2. Open a command terminal
  3. Run: python -m venv .venv Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned ..venv\Scripts\Activate.ps1
  4. Note: venv should be active
  5. Note: If system dependencies change, the next step will need to be reperformed with the updated requirements.txt
  6. Run: pip install -r requirements.txt scoop install caddy cloudflared (if not already installed) cloudflared login (to authenticate and select your domain) cloudflared tunnel create my-tunnel (where "my-tunnel" is an arbitrary name)
  7. Copy the credentials path
  8. Create a cloudflared config.yml and include the credentials path

Activating Production Server

  1. Open two more terminals
  2. On the terminal still in venv (navigate to the folder containing the interface subfolder), run: uvicorn EduSense.asgi:application --host localhost --port 8000
  3. On the second terminal, navigate to the project folder containing the Caddyfile and run: caddy run --config Caddyfile
  4. On the third terminal, run: cloudflared tunnel run my-tunnel

About

Fork of Cody's Repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors