From 1c085cf8c4c2914684b560299500aecd31ab18c7 Mon Sep 17 00:00:00 2001 From: Őry Máté <orymate@iit.bme.hu> Date: Wed, 6 Feb 2013 22:27:15 +0100 Subject: [PATCH] cloud: Makefile for use after pull --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4624276 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +SHELL := /bin/bash + + +all: migrate collectstatic mo restart + +migrate: + ./manage.py migrate + +collectstatic: + ./manage.py collectstatic --noinput + +mo: + for i in */; do cd $$i; ../manage.py compilemessages || true; cd ..; done + +restart: + sudo /etc/init.d/apache2 reload -- libgit2 0.26.0