Files
django-mfa2/EXAMPLE.md
Mohamed El-Kalioby cb2149acf3 Merged v2.6.0
2022-10-01 12:41:15 +03:00

19 lines
581 B
Markdown

# Use of Example project
1. create virtual env
`virtualenv venv`
1. activate env `source venv/bin/activate`
1. install requirements `pip install -r requirements.txt`
1. cd to example project `cd example`
1. migrate `python manage.py migrate`
1. create super user `python manage.py createsuperuser`
1. start the server `python manage.py runserver`
# Notes for SSL
To test FIDO2 you need to use HTTPS, after the above steps are done:
1. stop the server
1. install requirements `pip install -r example-ssl-requirements.txt`
1. start the ssl server `python manage.py runsslserver`