You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,36 @@ To contribute, clone the repository instead of forking it and then request to be
32
32
33
33
```
34
34
make install
35
+
make setup-env
35
36
```
36
37
38
+
### 3a. Configure environment variables
39
+
40
+
`make setup-env` creates a local `.env` from `.env.example`. At minimum, local development expects values for:
41
+
42
+
-`POLICYENGINE_DB_PASSWORD`
43
+
-`POLICYENGINE_GITHUB_MICRODATA_AUTH_TOKEN`
44
+
-`ANTHROPIC_API_KEY`
45
+
-`OPENAI_API_KEY`
46
+
-`HUGGING_FACE_TOKEN`
47
+
48
+
If you need a local Google credential file for ADC, uncomment and set:
49
+
50
+
-`GOOGLE_APPLICATION_CREDENTIALS`
51
+
52
+
Keep that commented unless you are pointing at a real local credential file. The deployed App Engine service uses its attached service account instead.
53
+
54
+
If you are running against an auth-protected simulation gateway outside the managed deploy path, you may also need:
55
+
56
+
-`SIMULATION_API_URL`
57
+
-`GATEWAY_AUTH_REQUIRED`
58
+
-`GATEWAY_AUTH_ISSUER`
59
+
-`GATEWAY_AUTH_AUDIENCE`
60
+
-`GATEWAY_AUTH_CLIENT_ID`
61
+
- one of `GATEWAY_AUTH_CLIENT_SECRET` or `GATEWAY_AUTH_CLIENT_SECRET_RESOURCE`
62
+
63
+
Managed App Engine deploys currently still render some runtime config into the image bundle. Long-term, we intend to stop doing that and supply environment-specific config at runtime instead.
64
+
37
65
### 4. Start a server on localhost to see your changes
0 commit comments