Skip to content

Instantly share code, notes, and snippets.

@andresdouglas
Created April 5, 2012 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andresdouglas/2314962 to your computer and use it in GitHub Desktop.
Save andresdouglas/2314962 to your computer and use it in GitHub Desktop.
# 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 git@github.com:...
cmd:
- run
- unless:
#}
# set up virtualenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment