Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Example.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# 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. create virtual env: python -mvenv .venv
1. activate env `source .venv/bin/activate`
1. install requirements `python -mpip 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`
Expand All @@ -14,5 +13,6 @@
For passkeys, 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. install requirements `python -mpip install -r example-ssl-requirements.txt`
1. start the ssl server `python manage.py runsslserver`
1. visit https://localhost:8000/ -- using `https://127.0.0.1:8000` will not work!
15 changes: 7 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
cffi==1.15.1
cryptography==38.0.1
Django==2.2.28
django-sslserver==0.22
fido2==1.1.1
pycparser==2.21
pytz==2022.5
sqlparse==0.4.3
cryptography>=45.0.5
django>=5.2.4,<6.0
django-sslserver>=0.22
fido2>=2.0.0,<3.0.0
pytz>=2025.2
sqlparse>=0.5.3,<0.6.0
-e .