Permalink
Browse files

Merge pull request #129 from rossbruniges/update-update

Removing more un-required steps from the update script
  • Loading branch information...
2 parents 2079dc5 + 0bd3ca1 commit 7dfe629e3f3fb558cbed5a92210cb298c77b5eb4 @rossbruniges rossbruniges committed Feb 25, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 bin/update_site.py
View
8 bin/update_site.py
@@ -51,13 +51,13 @@ def update_site(env, debug):
here = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
#locale = os.path.join(here, 'locale')
#unique = md5(locale).hexdigest()
- project_branch = {'branch': ENV_BRANCH[env][PROJECT]}
+ #project_branch = {'branch': ENV_BRANCH[env][PROJECT]}
#vendor_branch = {'branch': ENV_BRANCH[env][VENDOR]}
commands = [
(CHDIR, here),
- (EXEC, GIT_PULL % project_branch),
- (EXEC, GIT_SUBMODULE),
+ #(EXEC, GIT_PULL % project_branch),
+ #(EXEC, GIT_SUBMODULE),
]
# Checkout the locale repo into locale/ if the URL is known
@@ -87,8 +87,8 @@ def update_site(env, debug):
# (EXEC, GIT_PULL % vendor_branch),
# (EXEC, GIT_SUBMODULE),
# (CHDIR, os.path.join(here)),
- (EXEC, 'python2.6 manage.py migrate'),
(EXEC, 'python2.6 manage.py collectstatic --noinput'),
+ (EXEC, 'python2.6 manage.py migrate'),
# un-comment if you haven't moved to django-compressor yet
#(EXEC, 'python2.6 manage.py compress_assets'),
]

0 comments on commit 7dfe629

Please sign in to comment.