|
|
@ -55,15 +55,15 @@ Replace `your_app` with the appropriate name of your website and folders. If you |
|
|
|
|
|
|
|
|
5. To be able to test the website, place the config file you’ve just made in `/etc/apache2/sites-available/` |
|
|
5. To be able to test the website, place the config file you’ve just made in `/etc/apache2/sites-available/` |
|
|
6. To be able to test your website, place your python scripts folder in `/var/www/html/your_app/`, resulting in a file structure like this: |
|
|
6. To be able to test your website, place your python scripts folder in `/var/www/html/your_app/`, resulting in a file structure like this: |
|
|
|----/var/www/html/ |
|
|
> |----/var/www/html/ |
|
|
|-------------your_app/ |
|
|
> |-------------your_app/ |
|
|
|-----------------your_app.wsgi --> **We’ll make this in the next step** |
|
|
> |-----------------your_app.wsgi --> **We’ll make this in the next step** |
|
|
|-----------------your_app/ |
|
|
> |-----------------your_app/ |
|
|
|---------------------static/ |
|
|
> |---------------------static/ |
|
|
|---------------------templates/ |
|
|
> |---------------------templates/ |
|
|
|-------------------------main.html |
|
|
> |-------------------------main.html |
|
|
|------------------------- (…) |
|
|
> |------------------------- (…) |
|
|
|---------------------venv/ |
|
|
> |---------------------venv/ |
|
|
|---------------------main.py |
|
|
> |---------------------main.py |
|
|
|--------------------- (…) |
|
|
> |--------------------- (…) |
|
|
|
|
|
|
|
|
|