... | ... | @@ -98,10 +98,6 @@ make run |
|
|
```
|
|
|
|
|
|
# Apache configuration
|
|
|
The apache module libapache2-mod-wsgi-py3 must be installed.
|
|
|
|
|
|
In the following example the stock manager is installed in /opt/pao-stock-manager directory.
|
|
|
|
|
|
Create the configuration file, like :
|
|
|
```bash
|
|
|
cd /etc/apache2
|
... | ... | @@ -136,3 +132,10 @@ drwxr-xr-x 2 root root 4096 mai 2 18:59 . |
|
|
drwxr-xr-x 8 root root 4096 mai 1 08:31 ..
|
|
|
lrwxrwxrwx 1 root root 41 mai 2 18:59 000-stock-manager.conf -> ../sites-available/000-stock-manager.conf
|
|
|
```
|
|
|
|
|
|
Change owner and permission for sqlite database :
|
|
|
```bash
|
|
|
cd /opt/pao-stock-manager
|
|
|
sudo chown fbc.stock db.sqlite3
|
|
|
chmod g+w db.sqlite3
|
|
|
``` |
|
|
\ No newline at end of file |