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

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

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

@ -87,8 +87,8 @@ Make sure to replace `your_app`, appropriately, and set the location of your pyt
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:***
1. `cd /var/www/html/your_app/your_app`
2. `python3 -m venv venv`
3. `source venv/bin/activate`
4. `pip3 install -r requirements.txt`
5. `deactivate`
> 1. `cd /var/www/html/your_app/your_app`
> 2. `python3 -m venv venv`
> 3. `source venv/bin/activate`
> 4. `pip3 install -r requirements.txt`
> 5. `deactivate`
Loading…
Cancel
Save