Fixes on orchestra deployment
This commit is contained in:
parent
2c6bd0469b
commit
93ba8f98e0
|
@ -73,7 +73,6 @@ If you are planing to do some development or perhaps just checking out this proj
|
||||||
5. To upgrade to current master just
|
5. To upgrade to current master just
|
||||||
```bash
|
```bash
|
||||||
cd ~orchestra/django-orchestra/
|
cd ~orchestra/django-orchestra/
|
||||||
git pull origin master
|
|
||||||
sudo ~orchestra/django-orchestra/scripts/container/deploy.sh
|
sudo ~orchestra/django-orchestra/scripts/container/deploy.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ if [[ ! $CURRENT_VERSION ]]; then
|
||||||
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/"
|
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/"
|
||||||
else
|
else
|
||||||
# Upgrade and relay on postguprade for finishing up the installation
|
# Upgrade and relay on postguprade for finishing up the installation
|
||||||
export GIT_DIR=~/django-orchestra/.git; git pull
|
surun "export GIT_DIR=~/django-orchestra/.git && git checkout master && git pull origin"
|
||||||
$PYTHON_BIN $MANAGE migrate postupgradeorchestra --from $CURRENT_VERSION
|
$PYTHON_BIN $MANAGE migrate postupgradeorchestra --from $CURRENT_VERSION
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue