|
|
Note: the application is considered to be installed in the $STOCK_MANAGER_PATH directory
|
|
|
Note: the application is considered to be installed in the STOCK_MANAGER_PATH directory
|
|
|
|
|
|
# Requirements
|
|
|
|
... | ... | @@ -112,3 +112,15 @@ make run |
|
|
```
|
|
|
|
|
|
# Apache configuration
|
|
|
The apache module libapache2-mo-wsgi must be installed.
|
|
|
|
|
|
Change the owner of the application directory
|
|
|
```sudo chown -R www-data.www-data STOCK_MANAGER_PATH
|
|
|
```
|
|
|
|
|
|
Create the configuration file, like :
|
|
|
```cd /etc/apache2
|
|
|
cat site-enabled/000-stock-manager.conf
|
|
|
```
|
|
|
|
|
|
Replace the default configuration file : |