... | ... | @@ -111,12 +111,14 @@ To run your server, you can use this command: |
|
|
make run
|
|
|
```
|
|
|
|
|
|
# Production or pre pduction (on linux)
|
|
|
# Production or pre pduction (on linux). XXX is the default account that installs the software
|
|
|
* Install pip : sudo apt install python3-pip
|
|
|
* Install pipenv : pip3 install pipenv
|
|
|
* Clone good branch in /opt : git clone -b pre-prod https://gitlab.insa-rouen.fr/delestre/pao-stock-manager.git
|
|
|
* Create group : sudo groupadd stock
|
|
|
* Add user (fbc/www-data) : sudo usermod -a -G stock fbc
|
|
|
* Add user (XXX/www-data) : sudo usermod -a -G stock XXX
|
|
|
* Clone good branch in /opt : sudo git clone -b pre-prod https://gitlab.insa-rouen.fr/delestre/pao-stock-manager.git
|
|
|
* Change owner : sudo chown -R /opt/pao-stock-manager
|
|
|
|
|
|
|
|
|
|
|
|
|
... | ... | |