Skip to content

Commit

Permalink
added fabfile for deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
toolness committed Nov 18, 2011
1 parent 1fa92d3 commit 4726d25
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
locale
dist
fabfile.py
*.pyc
10 changes: 10 additions & 0 deletions fabfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import os

from fabric.api import *
from fabric.contrib.project import rsync_project

@task
def deploy():
local('python manage.py build')
rsync_project(remote_dir='/var/hackasaurus.org',
local_dir='dist/')

0 comments on commit 4726d25

Please sign in to comment.