mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
Elaborate on LDAP DN details
This commit is contained in:
parent
e3783a4919
commit
48e4b6e820
2 changed files with 9 additions and 2 deletions
|
@ -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)
|
# 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')
|
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.
|
# 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
|
# Flask
|
||||||
|
|
|
@ -134,7 +134,8 @@ vim config_local.py
|
||||||
|
|
||||||
# LDAP
|
# 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_DN = environ.get('PROXSTAR_LDAP_BIND_DN', '')
|
||||||
LDAP_BIND_PW = environ.get('PROXSTAR_LDAP_BIND_PW', '')
|
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
|
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.
|
Open a web browser and navigate to http://localhost:8000. You should see Proxstar running.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue