clean up .pyc and empty directories with software update
parent
243e7d8029
commit
298dca48b3
|
@ -7,6 +7,9 @@
|
|||
# ssh ubuntu@please.unglueit.com "/opt/regluit/deploy/update-regluit"
|
||||
|
||||
cd /opt/regluit
|
||||
find . -name "*.pyc" -delete
|
||||
find . -type d -empty -delete
|
||||
|
||||
sudo -u ubuntu /usr/bin/git pull
|
||||
source ENV/bin/activate
|
||||
pip install --upgrade -r requirements_versioned.pip
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /opt/regluit
|
||||
find . -name "*.pyc" -delete
|
||||
find . -type d -empty -delete
|
||||
|
||||
sudo -u ubuntu /usr/bin/git pull origin production
|
||||
source ENV/bin/activate
|
||||
pip install --upgrade -r requirements_versioned.pip
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
# ssh ubuntu@please.unglueit.com "/opt/regluit/deploy/update-regluit"
|
||||
|
||||
cd /opt/regluit
|
||||
find . -name "*.pyc" -delete
|
||||
find . -type d -empty -delete
|
||||
|
||||
sudo -u ubuntu /usr/bin/git pull
|
||||
source ENV/bin/activate
|
||||
#pip install -r requirements.pip
|
||||
|
|
Loading…
Reference in New Issue