Update README.md

This commit is contained in:
Jordan
2026-07-28 12:19:10 +12:00
parent 5231bad36f
commit 819d184683
+4 -4
View File
@@ -33,22 +33,22 @@ guides
Guide to running Guide to running
''' ```
git clone https://git.ralphie.xyz/Jordan/math-website.git git clone https://git.ralphie.xyz/Jordan/math-website.git
cd math-website cd math-website
python3 ./app.py python3 ./app.py
''' ```
Then go to http://localhost:5000 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) 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 git clone https://git.ralphie.xyz/Jordan/math-website.git
cd math-website cd math-website
python3 -m venv venv python3 -m venv venv
source venv/bin/activate source venv/bin/activate
pip install flask flask_mail flask_sqlalchemy werkzeug gunicorn pip install flask flask_mail flask_sqlalchemy werkzeug gunicorn
gunicorn --workers 3 --bind 0.0.0.0:8000 app:app gunicorn --workers 3 --bind 0.0.0.0:8000 app:app
''' ```
Then access it at you_vps_or_server_ip:8000 Then access it at you_vps_or_server_ip:8000