Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a command to install development env.

  • Loading branch information...
commit 64b6a0678ef1d3f6cb4db1faa0eb967fe4c96c34 1 parent b7c563b
Berker Peksag authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 fabfile.py
8 fabfile.py
View
@@ -105,6 +105,14 @@ def clean():
sudo('rm /etc/nginx/sites-enabled/berkerpeksag.com')
sudo('rm /etc/supervisord.conf')
+def dev():
+ """Configures the development environment."""
+ local('virtualenv .')
+ local('pip install -r requirements.txt')
+ local('source bin/activate')
+ local('cp berkerpeksag/settings_local.py.dist berkerpeksag/settings_local.py')
+ local('bin/python manage.py runserver')
+
def clean_pyc():
"""Remove all .pyc files."""
Please sign in to comment.
Something went wrong with that request. Please try again.