|
|
|
@ -4,8 +4,9 @@ source ../env/bin/activate && |
|
|
|
pip install -r requirements/base.txt && |
|
|
|
pip install -r requirements/base.txt && |
|
|
|
git reset --hard && |
|
|
|
git reset --hard && |
|
|
|
git pull && |
|
|
|
git pull && |
|
|
|
chmod +x update.sh && |
|
|
|
|
|
|
|
./manage.py migrate --noinput && |
|
|
|
./manage.py migrate --noinput && |
|
|
|
./manage.py collectstatic --noinput && |
|
|
|
./manage.py collectstatic --noinput && |
|
|
|
supervisorctl restart arch && |
|
|
|
supervisorctl restart arch && |
|
|
|
./manage.py recalculation_spec |
|
|
|
./manage.py recalculation_spec && |
|
|
|
|
|
|
|
chown -R www-data:www-data ./ && chmod -R 775 ./ && |
|
|
|
|
|
|
|
chmod +x update.sh |