Django web application with authentication flow.
The application is built as a demo to showcase how to write tests in python and execute them with AltWalker.
Features:
- Login
- Create Account
- Reset Password
- Change Password
- Logout
Windows bash:
git clone https://github.com/altwalker/django-auth.git
cd django-auth
python -m pip install pipenv
python -m venv env
. env/Scripts/activate
pipenv install
python manage.py migrate
python manage.py runserver
Windows cmd:
git clone https://github.com/altwalker/django-auth.git
cd django-auth
python -m pip install pipenv
python -m venv env
.\env\Scripts\activate.bat
pipenv install
python manage.py migrate
python manage.py runserver
Unix/MacOS:
git clone https://github.com/altwalker/django-auth.git
cd django-auth
python -m pip install pipenv
python -m venv env
source env/bin/activate
pipenv install
python manage.py migrate
python manage.py runserver
$ docker build -t django-auth .
$ docker run --rm -it -p 8000:8000 django-auth
When resetting a password an email must be sent to the user with a reset password link. For testability we save the email contents in a file that can be accessed by automated software at /testability/last-reset-pwd-email
To run the tests against this app, clone the tests repo from https://github.com/altwalker/altwalker-examples and follow the installation steps for python-auth
example.
We've published an image on docker hub with this codebase: https://hub.docker.com/r/altwalker/demos
This project is licensed under the MIT License.