Skip to content

dvrpc/community-profiles-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Community Profiles API

  1. Activate venv
python -m venv .venv
source .venv/bin/activate
# Windows .venv\Scripts\activate
  1. Install requirements pip install -r requirements.txt
  2. Create .env file and fill contents from env_sample. This points to the postgres DB created for community-profiles-data-builder
    • The revalidate url should be <yourfrontendurl>/api/revalidate
    • The revalidate secret can be any secret that matches the frontend secret
    • allowed domain should be dvrpc.org, and allowed emails are the specific users allowed to use the admin page
    • google client id should match client id in frontend
  3. Get a Github fine grained personal access token with read access to https://github.com/dvrpc/community-profiles-content
  4. Run app
cd src
uvicorn main:app --reload

TEST DATA tract = 42091204702 muni = 4201704976 county = 42101

About

wip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •