File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Path to the Google_Application_Credentials file
2+ # Required to run the simulation API
3+ GOOGLE_APPLICATION_CREDENTIALS = /path/to/policyengine_gcp_credentials.json
4+
5+ # Password for connecting to the PolicyEngine database
6+ POLICYENGINE_DB_PASSWORD = policyengine_db_password
7+
8+ # Github Microdata Token
9+ POLICYENGINE_GITHUB_MICRODATA_AUTH_TOKEN = policyengine_github_token
10+
11+ # API key for Anthropic
12+ ANTHROPIC_API_KEY = policyengine_anthropic_api_key
13+
14+ # API Key for OpenAI
15+ OPENAI_API_KEY = policyengine_openai_api_key
16+
17+ # Token for Hugging Face models
18+ HUGGING_FACE_TOKEN = policyengine_huggingface_token
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ if [ ! -f .env ];
4+ then
5+ cp .env.example .env
6+ fi
Original file line number Diff line number Diff line change 11install :
22 pip install -e " .[dev]" --config-settings editable_mode=compat
3+ bash .github/setup_env.sh
34
45debug :
56 FLASK_APP=policyengine_api.api FLASK_DEBUG=1 flask run --without-threads
Original file line number Diff line number Diff line change 1+ - bump : patch
2+ changes :
3+ added :
4+ - Added `.env.example` file with all relevant environment variables and example values for local setup.
5+ - Modified Makefile `install` target to auto-copy `.env.example` to `.env` if `.env` does not exist.
You can’t perform that action at this time.
0 commit comments