Skip to content

Instantly share code, notes, and snippets.

@andresdouglas
Created April 5, 2012 23:16

Revisions

  1. andresdouglas created this gist Apr 5, 2012.
    25 changes: 25 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    # 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