You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: If system dependencies change, the next step will need to be reperformed with the updated requirements.txt
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)
Copy the credentials path
Create a cloudflared config.yml and include the credentials path
Activating Production Server
Open two more terminals
On the terminal still in venv (navigate to the folder containing the interface subfolder), run:
uvicorn EduSense.asgi:application --host localhost --port 8000
On the second terminal, navigate to the project folder containing the Caddyfile and run:
caddy run --config Caddyfile
On the third terminal, run:
cloudflared tunnel run my-tunnel