Makefile 266 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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