Update README.md

This commit is contained in:
Jordan
2026-07-28 12:17:44 +12:00
parent dcab7e10fa
commit 5231bad36f
+15 -2
View File
@@ -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
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