Skip to content

FusionAuth/fusionauth-quickstart-python-django-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Django Application

This repo holds an example Python/Django application that uses FusionAuth as the identity provider.

This application was built by following the Python/Django Quickstart.

Project Contents

The docker-compose.yml file and the kickstart directory are used to start and configure a local FusionAuth server.

The /complete-application directory contains a fully working version of the application.

Project Dependencies

Running FusionAuth

To run FusionAuth, just start up the docker containers using docker-compose.

docker-compose up

This will start a PostgreSQL database, and Elastic service, and the FusionAuth server.

Running the Example App

To run the application set up a Python virtual env and install the project dependencies.

cd complete-application && \
python -m venv venv && \
source venv/bin/activate && \
pip install -r requirements.txt && \
python mysite/manage.py runserver

Visit the local webserver at http://localhost:8000/ and sign in using the credentials:

Releases

No releases published

Packages

No packages published

Contributors 8