Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
how to get the demo to work
Browse files Browse the repository at this point in the history
  • Loading branch information
mtigas committed Sep 30, 2011
1 parent 3c281d1 commit 8fdb9e1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions 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.