From 729c535378a5eeb00c7e2f2b4a3655dd7fb14670 Mon Sep 17 00:00:00 2001 From: baskayj Date: Tue, 21 Dec 2021 19:26:53 +0100 Subject: [PATCH] Update 'Quick Guide to publishing websites on hal.elte.hu with Python3 backend' --- ...-publishing-websites-on-hal.elte.hu-with-Python3-backend.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md b/Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md index 7958e16..5f16de5 100644 --- a/Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md +++ b/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. 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` 2. `python3 -m venv venv` 3. `source venv/bin/activate`