Permalink
Browse files

add Makefile

  • Loading branch information...
vicalloy committed Aug 24, 2012
1 parent cfbc3e0 commit 2907167f0c22f6a7021f391569a23eae4a57bb3a
Showing with 17 additions and 0 deletions.
  1. +17 −0 Makefile
View
@@ -0,0 +1,17 @@
+MGP =
+PY = ./env/bin/python
+PIP = ./env/bin/pip
+MG = $(PY) ./sites/manage.py
+
+mg:
+ $(MG) $(MGP)
+init:
+ python ./scripts/create_env.py
+installreq:
+ $(PIP) install -r requirements.txt
+run:
+ $(MG) runserver
+test:
+ $(MG) test dpress
+rmpyc:
+ find ./sites/ -type f -name "*.pyc"|xargs rm -rf

0 comments on commit 2907167

Please sign in to comment.