From ba6e52c52c35030762990dcf294f62ed2a6e2686 Mon Sep 17 00:00:00 2001 From: PekopT Date: Wed, 17 Aug 2016 19:21:13 +0300 Subject: [PATCH] deploy script --- update.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 update.sh diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..dc25eff --- /dev/null +++ b/update.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +source ../env/bin/activate && +git reset --hard && +git pull && +./manage.py migrate --noinput && +./manage.py collectstatic --noinput && +supervisorctl restart arch \ No newline at end of file