Created
April 5, 2012 23:16
-
-
Save andresdouglas/2314962 to your computer and use it in GitHub Desktop.
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
# Use a macro: | |
# https://gist.github.com/2149546 | |
{% set deploy_path = '/var/django/reader.fm/revisions/' %} | |
# create deploy dir | |
{{ deploy_path }}: | |
file: | |
- directory | |
- makedirs: True | |
# create a user for django | |
# manage ssh deploy key | |
# clone git repo | |
{# | |
git clone [email protected]:... | |
cmd: | |
- run | |
- unless: | |
#} | |
# set up virtualenv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment