Skip to content

WATonomous/user-config-lookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

user-config-lookup

Local Setup

Get all users from the WATO infra config (code example below) and direct the output to user_directory.json. Place the file in the root of this repo, under the path ./data/user_directory.json

# see infra config repo for examples of how to use `get_all_users`
import get_all_users
import json
print(json.dumps(get_all_users(), sort_keys=True))

Note that an env file is also required to run the app locally. It should look like the example below and be placed in ./.env.

EMAIL_ADDRESS=<EMAIL>
EMAIL_PASSWORD=<PASSWORD>
SENTRY_DSN=<DSN>

The values of these variables can be found in the WATO infra config.

Running the program

Running the container:

docker compose up --build

Stopping the container:

docker compose down

Make sure to forward the port 5500 from the VM to your local computer!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •