Commits

Dmitri Lebedev  committed 74c5472

added rebuild db command

  • Participants
  • Parent commits e523db4
  • Branches fixture-directories

Comments (0)

Files changed (1)

 #run: bin/coffee
 bin/coffee: bin/buildout
 	./bin/buildout install coffee
+
+# rebuilds the database (useful for development environment)
+.PHONY: rebuild
+rebuilddb: bin/django
+	bin/django reset_db --router=default --noinput
+	bin/django syncdb --noinput