From 48e4b6e820bc3d58b751a23c5d4a7ffbba62d666 Mon Sep 17 00:00:00 2001 From: Will Nilges Date: Mon, 11 Oct 2021 00:51:21 -0400 Subject: [PATCH] Elaborate on LDAP DN details --- config.py | 6 +++++- developing/README.md | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 21df6f7..42c322f 100644 --- a/config.py +++ b/config.py @@ -8,7 +8,11 @@ VNC_CLEANUP_TOKEN = environ.get('PROXSTAR_VNC_CLEANUP_TOKEN', '') # Determines weather or not to run STARRS queries (for doing stuff like checking for available IPs) USE_STARRS = environ.get('PROXSTAR_USE_STARRS', 'True').lower() in ('true', '1', 't') # If you're an RTP and want to see a normal user's homepage view, set this to True. -FORCE_STANDARD_USER = environ.get('PROXSTAR_FORCE_STANDARD_USER', 'False').lower() in ('true', '1', 't') +FORCE_STANDARD_USER = environ.get('PROXSTAR_FORCE_STANDARD_USER', 'False').lower() in ( + 'true', + '1', + 't', +) # Flask diff --git a/developing/README.md b/developing/README.md index 60b4f53..59c2ca6 100644 --- a/developing/README.md +++ b/developing/README.md @@ -134,7 +134,8 @@ vim config_local.py # LDAP - # You can just use your CSH credentials here (remember to keep them hidden!) + # You can just use your LDAP Bind DN and Password here + # (remember to keep them hidden!) LDAP_BIND_DN = environ.get('PROXSTAR_LDAP_BIND_DN', '') LDAP_BIND_PW = environ.get('PROXSTAR_LDAP_BIND_PW', '') @@ -190,4 +191,6 @@ Now, you should be ready to run your dev instance. I like to use `tmux` for this rq worker ``` +(You might have to specify your host as `-h 127.0.0.1` if Flask is misbehaving) + Open a web browser and navigate to http://localhost:8000. You should see Proxstar running.