A basic template of a login system so you can use the template in any web app with just minimal changes to quickly build the web apps. Nowadays every website requires their customers to create accounts therefore this template will be very useful.
git clone https://github.com/amssdias/login-system
cd login-system
Fill up the ".env_sample_file" file, so users can receive activation links and to reset passwords. Rename it as well to ".env".
-
Pipenv (make sure you have Python installed):
pip install pipenv # For Windows brew install pipenv # For MacOs sudo apt install pipenv # For Debian Buster+ sudo dnf install pipenv # For Fedora
-
Install packages:
pipenv install # will create a virtual environment with all the modules needed
-
Activate virtualenv and apply migrations:
pipenv shell # To activate the virtual environment python manage.py makemigrations python manage.py migrate
If any doubts here's a link to some more explanations: Pipenv
pipenv shell
python manage.py runserver
Paste this link on your browser: http://127.0.0.1:8000/auth/login
- Log in
- Via username and password
- Create an account
- Profile activation email
- Reset password
- Resend an activation link
- Change password