Update 'Quick Guide to publishing websites on hal.elte.hu with Python3 backend'

master
baskayj 4 years ago
parent
commit
729c535378
  1. 3
      Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md

3
Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md

@ -86,7 +86,8 @@ from main import app as application
Make sure to replace `your_app`, appropriately, and set the location of your python scripts(`APP_HOME`) and venv correctly. Make sure to replace `your_app`, appropriately, and set the location of your python scripts(`APP_HOME`) and venv correctly.
8. Place your_app.wsgi in `var/www/html/your_app/` as seen at **step 6.**, to be able to test the Apache2 server. 8. Place your_app.wsgi in `var/www/html/your_app/` as seen at **step 6.**, to be able to test the Apache2 server.
9. Double check, that you've got a Python3 virtual environment in `/var/www/html/your_app/your_app/` with all the packeges specified in `requirements.txt`.***IF NOT:*** 9. Double check, that you've got a Python3 virtual environment in `/var/www/html/your_app/your_app/` with all the packeges specified in `requirements.txt`.
***IF NOT:***
1. `cd /var/www/html/your_app/your_app` 1. `cd /var/www/html/your_app/your_app`
2. `python3 -m venv venv` 2. `python3 -m venv venv`
3. `source venv/bin/activate` 3. `source venv/bin/activate`

Loading…
Cancel
Save