... | ... | @@ -112,7 +112,7 @@ make run |
|
|
```
|
|
|
|
|
|
# Apache configuration
|
|
|
The apache module libapache2-mo-wsgi must be installed.
|
|
|
The apache module libapache2-mod-wsgi-py3 must be installed.
|
|
|
|
|
|
Change the owner of the application directory
|
|
|
```bash
|
... | ... | @@ -122,7 +122,7 @@ sudo chown -R www-data.www-data STOCK_MANAGER_PATH |
|
|
Create the configuration file, like :
|
|
|
```bash
|
|
|
cd /etc/apache2
|
|
|
cat site-available/000-stock-manager.conf
|
|
|
cat sites-available/000-stock-manager.conf
|
|
|
|
|
|
<VirtualHost *:80>
|
|
|
Alias /static/admin/ /opt/pao-stock-manager/venv/lib/python3.6/site-packages/django/contrib/admin/static/admin/
|
... | ... | |