From 5231bad36fd3330856b0964853409e9e6e82d943 Mon Sep 17 00:00:00 2001 From: Jordan Date: Tue, 28 Jul 2026 12:17:44 +1200 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bba5899..5500b79 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,22 @@ guides Guide to running - +''' git clone https://git.ralphie.xyz/Jordan/math-website.git cd math-website python3 ./app.py +''' +Then go to http://localhost:5000 -Then go to http://localhost:5000 \ No newline at end of file + +If you want to run this on a vps or server at home this is how to do it (only being used on a ubuntu server so might not work on other distros like debian) +''' +git clone https://git.ralphie.xyz/Jordan/math-website.git +cd math-website +python3 -m venv venv +source venv/bin/activate +pip install flask flask_mail flask_sqlalchemy werkzeug gunicorn +gunicorn --workers 3 --bind 0.0.0.0:8000 app:app +''' + +Then access it at you_vps_or_server_ip:8000 \ No newline at end of file