Skip to content

Commit

Permalink
Put local_settings.py to the server, during deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Apr 18, 2012
1 parent f714471 commit 45a8513
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fabfile.py
Expand Up @@ -27,6 +27,9 @@ def _pull_sources():
else:
run('git clone %s %s' % (env.repository, relative_project_dir))

with cd(relative_project_dir):
fabric.operations.put('local_settings.py', 'local_settings.py')


def _create_env():
with cd(env.project_dir):
Expand Down

0 comments on commit 45a8513

Please sign in to comment.