... | ... | @@ -113,11 +113,13 @@ make run |
|
|
|
|
|
# Production or pre pduction (on linux). XXX is the default account that installs the software
|
|
|
* Install pip : sudo apt install python3-pip
|
|
|
* To avoid conflict : export PATH="${HOME}/.local/bin:$PATH"
|
|
|
* Install pipenv : pip3 install pipenv
|
|
|
* Create group : sudo groupadd stock
|
|
|
* 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
|
|
|
* Change owner : sudo chown -R XXX.stock /opt/pao-stock-manager
|
|
|
* Add write permission for stock group : sudo chmod -R g+w /opt/pao-stock-manager
|
|
|
|
|
|
|
|
|
|
... | ... | |