Created
January 16, 2013 20:59
-
-
Save benjaminws/4550895 to your computer and use it in GitHub Desktop.
For @dstanek
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assumes /home/me/myapp is a virtualenv... | |
script "Install Requirements" do | |
interpreter "bash" | |
user "me" | |
group "me" | |
code <<-EOC | |
/home/me/myapp/bin/pip install -r /home/me/myapp/requirements.txt | |
EOC | |
not_if "/home/me/myapp/bin/pip freeze | grep 'an_dependency' > /dev/null" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment