Default template

Environment variables

By Isaac White.

Last edited by nolans2022photos. Created .

This site is deployed from the code in nytimes/library-customization-example, which is combined with base code at nytimes/library.

The environment variables used for this deploy are:

CUSTOMIZATION_GIT_REPO=https://github.com/nytimes/library-customization-example.git

DRIVE_ID=1WDE2H1yxXHGMhoJ-CoQ9OMxBC5iL-eNi

GCP_PROJECT_ID=nyt-library-demo

GOOGLE_APPLICATION_CREDENTIALS=parse_json

GOOGLE_APPLICATION_JSON={"type": "service_account","project_id": "nyt-library-demo","private_key_id": "<PRIVATE_KEY_ID_HERE>","private_key": "-----BEGIN PRIVATE KEY-----\n<THE REAL PRIVATE KEY WOULD BE HERE>\n-----END PRIVATE KEY-----\n","client_email": "nyt-library-service@nyt-library-demo.iam.gserviceaccount.com","client_id": "<CLIENT_ID_GOES_HERE>","auth_uri": "https://accounts.google.com/o/oauth2/auth","token_uri": "https://oauth2.googleapis.com/token","auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs","client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/nyt-library-service%40nyt-library-demo.iam.gserviceaccount.com"}

GOOGLE_CLIENT_ID=<COMES_FROM_OAUTH_STEP>

GOOGLE_CLIENT_SECRET=<ALSO_FROM_OAUTH_STEP>

SESSION_SECRET=<THIS_CAN_BE_ANYTHING>

Note: Some environment variables are not identical or have been modified for security reasons.