Skip to content

Instantly share code, notes, and snippets.

@andresdouglas
Created April 5, 2012 23:16
Show Gist options
  • 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 [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