Update README.md
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user