Skip to content

An attempt to manage OKTA SAML2 integration with Django Fundamental Application

Notifications You must be signed in to change notification settings

amit17051980/django-fundamentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django Fundamentals

This repository has been created to explore the Django framework, and at the same time sharing the work done with other community members.

Work Instructions [Linux (Ubuntu-18)]

Although this document is referring Linux only, it is also possible to run this on windows by searching equivalent dependencies. I have found it a bit difficult to work on Windows due to lack of support when you hit issues with dependencies, e.g., xmlsec1.exe and associated DLLs.

Install Python3 and Dependencies

Github Path : https://github.com/amit17051980/django-fundamentals/blob/development/LMS/LMS/Setup-Ubuntu-Pkg.sh

Install LiClipse for Linux 64 bit

Download Link : https://www.mediafire.com/file/63ixawa1panjfny/liclipse_5.2.4_linux.gtk.x86_64.tar.gz

Instructions : http://www.liclipse.com/download.html#linux

Create Python Virtual Environment

Use Instructions : https://docs.python.org/3/library/venv.html

mkdir Python_Virtual_Envs

cd Python_Virtual_Envs/

mkdir django-fundamentals

cd django-fundamentals/

python3 -m venv .

Setup LiClipse for Virtual Environment

Use Instructions: https://www.pydev.org/manual_101_interpreter.html

Install PIP Dependencies

  1. Activate the Virtual Environment (CMD) or use Windows Preferences Interpreters Python (manage with pip)

  2. Run command below:

pip install -r https://github.com/amit17051980/django-fundamentals/blob/development/LMS/LMS/requirements.txt

Create PostgresSQL DB (If not using SQLite : Please review setting.py for DB)

postgres=# CREATE DATABASE lms_db;

postgres=# CREATE USER lmsadmin with password 'password';

postgres=# ALTER ROLE lmsadmin SET client_encoding TO 'utf8';

postgres=# ALTER ROLE lmsadmin SET default_transaction_isolation TO 'read committed';

postgres=# ALTER ROLE lmsadmin SET timezone TO 'UTC';

postgres=# GRANT ALL PRIVILEGES ON DATABASE lms_db to lmsadmin;

About

An attempt to manage OKTA SAML2 integration with Django Fundamental Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published