Add Django tasks, update setting_local and apache site template render, fix os vs. env error

This commit is contained in:
Roberto Rosario
2012-06-01 02:42:21 -04:00
parent 9f0d7966bc
commit 66e3e4d7b5
9 changed files with 68 additions and 39 deletions
-5
View File
@@ -37,11 +37,6 @@ def install_mayan():
sudo('source bin/activate; pip install -r %s/requirements/production.txt' % env.repository_name)
def syncdb():
with cd(env.virtualenv_path):
sudo('source bin/activate; %(repository_name)s/manage.py syncdb --noinput; %(repository_name)s/manage.py migrate' % (env))
def install_database_manager():
"""
Install the database manager on an Ubuntu system