X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=blobdiff_plain;f=post-pull;fp=post-pull;h=9d11bfac964568ed435f2b123d543cf8fc806777;hp=0000000000000000000000000000000000000000;hb=9f9dde2bb0855b915b478985ba6ab4fb14b36d14;hpb=b1a53a9c2b629c02e05faa2df79f76df67b42a14 diff --git a/post-pull b/post-pull new file mode 100755 index 0000000..9d11bfa --- /dev/null +++ b/post-pull @@ -0,0 +1,10 @@ +#!/bin/sh + +DJANGO_SETTINGS_MODULE=djsite.settings_prod +export DJANGO_SETTINGS_MODULE + +pip install -v -r requirements.txt +./manage.py collectstatic -v 0 --clear --no-input +./manage.py migrate + +./manage.py check --deploy