formatting
This commit is contained in:
parent
e2f285b730
commit
7f04fb004b
13
update
13
update
@ -15,21 +15,16 @@ cd $path/coinmanager
|
||||
|
||||
echo -n "fetching "
|
||||
git pull -q origin master >/dev/null
|
||||
echo "..."
|
||||
|
||||
echo -n "collecting "
|
||||
echo -n "... collecting "
|
||||
pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input >/dev/null
|
||||
echo "..."
|
||||
|
||||
echo -n "bumping "
|
||||
echo -n "... bumping "
|
||||
version=$(date +"%y%m%d")
|
||||
sed -i "s/[0-9]\{6\}/$version/g" coinc/templates/footer.html >/dev/null
|
||||
echo "..."
|
||||
|
||||
echo -n "owning "
|
||||
echo -n "... owning "
|
||||
sudo chown -R $user:$web_user $path >/dev/null
|
||||
echo "..."
|
||||
|
||||
echo -n "reloading "
|
||||
echo "... reloading "
|
||||
sudo systemctl reload apache2 >/dev/null
|
||||
echo "..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user