From 007413d7e065d7ad07cba421b93cfec1ad078766 Mon Sep 17 00:00:00 2001 From: baskayj Date: Tue, 21 Dec 2021 18:58:14 +0100 Subject: [PATCH] Update 'Quick Guide to publishing websites on hal.elte.hu with Python3 backend' --- ...blishing-websites-on-hal.elte.hu-with-Python3-backend.md | 6 +++++- 1 file changed, 5 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 9bc960e..e946c4b 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 @@ -25,7 +25,7 @@ Since Flask’s built-in server is not fit for live traffic, you need another WS 3. Enable mod_wsgi: `SUDO A2ENMOD WSGI` 4. Create a config file for your website: -## Creating `your_app.conf` +#### Creating `your_app.conf` This file contains the paths to all the important Files needed for Apache2 to run your Python3 scripts. The minimal config file for a Flask-app, with static files (Images, CSS) present looks like: ``` @@ -51,3 +51,7 @@ This file contains the paths to all the important Files needed for Apache2 to ru CustomLog ${APACHE_LOG_DIR}/access.log combined ``` +Replace `your_app` with the appropriate name of your website and folders. If you use a different folder structure, make sure it’s reflected here. + +5. ASD +6. BSD