Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

how to get the demo to work

  • Loading branch information...
commit 8fdb9e16c3e18560201a7b580b5595675c94e37e 1 parent 3c281d1
@mtigas authored
Showing with 27 additions and 0 deletions.
  1. +27 −0 twofactor_demo/README.mdown
View
27 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)
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.