From f333bcb3cb3d72cd1238dde66e4d13852aba0f17 Mon Sep 17 00:00:00 2001 From: zealotous Date: Tue, 26 Jun 2012 19:42:44 +0400 Subject: [PATCH] Added virtualenv usage. --- examples/mysite/README.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/examples/mysite/README.rst b/examples/mysite/README.rst index a19540c..f1d1e7f 100644 --- a/examples/mysite/README.rst +++ b/examples/mysite/README.rst @@ -1,9 +1,16 @@ -The example site uses django.db.backends.sqlite3 and requires minimal configuration. :: +The example site uses django.db.backends.sqlite3, virtualenv and requires minimal configuration. :: - git clone git@github.com:hiidef/oauth2app.git oauth2app + # create and activate virtualenv + virtualenv oauth2_mysite + source oauth2_mysite/bin/activate + # install required python modules + pip install https://github.com/hiidef/oauth2app/tarball/master django django-uni-form django-nose + # create folder for temporary code + mkdir code && cd code + # clone oauth2app repository + git clone https://github.com/hiidef/oauth2app.git oauth2app cd oauth2app/examples/mysite - git checkout master - pip install https://github.com/hiidef/oauth2app/tarball/master django django-uni-form + # syncdb and run development server python manage.py syncdb --noinput python manage.py runserver