... | ... | @@ -13,7 +13,7 @@ XXX is the default account that installs the software. |
|
|
* Install pipenv : pip3 install pipenv
|
|
|
* Create group : sudo groupadd stock
|
|
|
* Add user (XXX/www-data) : sudo usermod -a -G stock XXX
|
|
|
* Clone branch in $STOCK_MANAGER_DIRECTORY : sudo git clone -b pre-prod https://gitlab.insa-rouen.fr/delestre/pao-stock-manager.git
|
|
|
* Clone the branch in $STOCK_MANAGER_DIRECTORY : sudo git clone -b $STOCK_MANAGER_BRANCH_GIT https://gitlab.insa-rouen.fr/delestre/pao-stock-manager.git
|
|
|
* Change owner : sudo chown -R XXX.stock $STOCK_MANAGER_DIRECTORY
|
|
|
* Add write permission for stock group : sudo chmod -R g+w $STOCK_MANAGER_DIRECTORY
|
|
|
* Declare the variable environnement to create virtual env in local : export PIPENV_VENV_IN_PROJECT="true"
|
... | ... | |