You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
364 B
13 lines
364 B
#!/usr/bin/env bash
|
|
|
|
source ../env/bin/activate &&
|
|
pip install -r requirements/base.txt &&
|
|
git reset --hard &&
|
|
git pull &&
|
|
./manage.py migrate --noinput &&
|
|
./manage.py collectstatic --noinput &&
|
|
supervisorctl restart arch &&
|
|
supervisorctl restart arch_chat &&
|
|
./manage.py recalculation_spec &&
|
|
chown -R www-data:www-data ./ && chmod -R 775 ./ &&
|
|
chmod +x update.sh |