17 lines
388 B
Bash
Executable File
17 lines
388 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "cloning ..."
|
|
git pull origin master
|
|
|
|
echo "collecting static files ..."
|
|
cd /home/willipink/coinmanager/coinmanager
|
|
pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input
|
|
|
|
echo "owning everything ..."
|
|
sudo chown -r willipink:www-data /home/willipink/coinmanager
|
|
|
|
echo "reloading apache ..."
|
|
sudo systemctl reload apache2
|