Permalink
Browse files

how to get the demo to work

  • Loading branch information...
1 parent 3c281d1 commit 8fdb9e16c3e18560201a7b580b5595675c94e37e @mtigas committed Sep 30, 2011
Showing with 27 additions and 0 deletions.
  1. +27 −0 twofactor_demo/README.mdown
@@ -0,0 +1,27 @@
+# Easy setup
+
+ virtualenv --no-site-packages django-twofactor
+ cd django-twofactor
+ echo "export PYTHONPATH=\"\$VIRTUAL_ENV/repo\"" >> bin/activate
+ echo "export PIP_RESPECT_VIRTUALENV=true" >> bin/activate
+ echo "export DJANGO_SETTINGS_MODULE=\"twofactor_demo.settings\"" >> bin/activate
+
+ source bin/activate
+ git clone git://github.com/mtigas/django-twofactor.git repo
+ pip install -r repo/requirements.txt
+ pip install pycrypto
+
+ cd repo/twofactor_demo
+ django-admin.py syncdb --noinput
+ django-admin.py runserver
+
+### Test accounts
+
+ Username: test_notwofactor
+ Password: test
+
+ Username: test_twofactor
+ Password: test
+ Token Seed: (TODO)
+
+

0 comments on commit 8fdb9e1

Please sign in to comment.