^
This commit is contained in:
parent
5c4fbad4f5
commit
2e315a0320
1 changed files with 2 additions and 1 deletions
|
@ -598,15 +598,16 @@ wait
|
||||||
# Simlink to the prod.ini
|
# Simlink to the prod.ini
|
||||||
sudo ln -s $HD/saleor/saleor/wsgi/prod.ini $HD/env/saleor/vassals
|
sudo ln -s $HD/saleor/saleor/wsgi/prod.ini $HD/env/saleor/vassals
|
||||||
wait
|
wait
|
||||||
source $HD/env/saleor/bin/activate
|
|
||||||
# Make sure we're in the project root directory for Saleor
|
# Make sure we're in the project root directory for Saleor
|
||||||
cd $HD/saleor
|
cd $HD/saleor
|
||||||
|
wait
|
||||||
# Was the -v (version) option used?
|
# Was the -v (version) option used?
|
||||||
if [ "vOPT" = "true" || $VERSION != "" ]; then
|
if [ "vOPT" = "true" || $VERSION != "" ]; then
|
||||||
# Checkout the specified version
|
# Checkout the specified version
|
||||||
sudo -u $UN git checkout $VERSION
|
sudo -u $UN git checkout $VERSION
|
||||||
wait
|
wait
|
||||||
fi
|
fi
|
||||||
|
source $HD/env/saleor/bin/activate
|
||||||
# Install the project requirements
|
# Install the project requirements
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
wait
|
wait
|
||||||
|
|
Loading…
Reference in a new issue