Skip to content

Commit

Permalink
Set default values for Contentful env vars, add docs. (#2153)
Browse files Browse the repository at this point in the history
Forgot to do this in #2125!
  • Loading branch information
toolness authored Jul 13, 2021
1 parent bc47ac8 commit 1f1b9f3
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions project/justfix_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,23 @@ class JustfixEnvironment(typed_environ.BaseEnvironment):
# The origin of the NYC GeoSearch API.
NYC_GEOSEARCH_ORIGIN: str = "https://geosearch.planninglabs.nyc"

CONTENTFUL_SPACE_ID: str = ""
# The Contentful Space ID to use for retrieving common strings. For more
# details, see: https://github.com/JustFixNYC/tenants2/pull/2125
#
# If empty, Contentful integration will be disabled.
#
# By default, this is set to retrieve JustFix.nyc's publicly-available
# common strings.
CONTENTFUL_SPACE_ID: str = "markmr2gi204"

CONTENTFUL_ACCESS_TOKEN: str = ""
# The Contentful access token to use for retrieving common strings. For more
# details, see: https://github.com/JustFixNYC/tenants2/pull/2125
#
# If empty, Contentful integration will be disabled.
#
# By default, this is set to retrieve JustFix.nyc's publicly-available
# common strings.
CONTENTFUL_ACCESS_TOKEN: str = "Fli_OMdKgUFw6tEX3uv6HqvptuG6A6jn9bZVPlHZj8E"


class JustfixBuildPipelineDefaults(JustfixEnvironment):
Expand Down

0 comments on commit 1f1b9f3

Please sign in to comment.