Install python prereqs before trying to run django or install requirements/local.txt

This commit is contained in:
Calen Pennington
2013-05-15 15:49:51 -04:00
parent ec7c47828f
commit 0df9f714b8

View File

@@ -3,7 +3,7 @@ default_options = {
:cms => '8001',
}
task :predjango do
task :predjango => :install_python_prereqs do
sh("find . -type f -name *.pyc -delete")
sh('pip install -q --no-index -r requirements/local.txt')
end