@@ -49,8 +49,9 @@ The API user must pick a version status - draft, in review, or approved - for an
49
49
# Features
50
50
## Google Document Features
51
51
# Technical Documentation
52
- # Technical Implementation
53
52
53
+ # Technical Implementation
54
+ ## Maintenance with Django
54
55
## People Depot Replication with SSO
55
56
56
57
The Knowledgebase replicates the People Depot table when the user logs in. This is the log in flow:
@@ -67,7 +68,7 @@ The Knowledgebase replicates the People Depot table when the user logs in. This
67
68
3.2 user logs in with username and password
68
69
3.3 Knowledgebase calls People Depot /login API to validate username and password against People Depot
69
70
3.4 Knowledgebase creates a token
70
- 5 . Knowledgebase redirects the user to the /sync url. This is configured in the LOGIN_REDIRECT_URL environment variable.
71
+ 5 . Knowledgebase redirects the user to the /sync url. This is configured in the dLOGIN_REDIRECT_URL environment variable.
71
72
6 . The view associated with the /sync url, ` sync_view() ` , calls ` update_all_from_pd() ` , which:
72
73
6.1 calls ` update_user_profile_from_pd() ` , which:
73
74
6.1.1 gets current user data from ` https://<people depot server>/profile ` with token in header
@@ -79,7 +80,7 @@ The Knowledgebase replicates the People Depot table when the user logs in. This
79
80
6.3.1 gets practice area data from ` https://<people depot server>/practice-areas ` (without a token)
80
81
6.3.2 creates or updates the practice area records
81
82
82
- ## Servers Knowledgebase interacts with
83
+ ## Related Servers
83
84
84
85
- Google doc conversion server. It converts a Google doc into markdown. We have written the backend for this server in javascript.
85
86
- Jekyll server. The Jekyll server converts the markdown to HTML for the Hack for LA website.
0 commit comments