Skip to content

Commit

Permalink
Prompt on codespace creation for suggested keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Jun 9, 2024
1 parent 72f44bf commit d271892
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .devcontainer/auto-quick-setup/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
{
"name": "theyworkforyou",
"secrets": {
"TWFY_VOTES_URL": {
"description": "URL to the TWFY Votes page"
},
"MAPIT_URL": {
"description": "URL to the MapIt API - defaults to mapit.mysociety.org"
},
"MAPIT_API_KEY": {
"description": "API key for the MapIt API - optional for small numbers of queries"
},
"DEMOCRACYCLUB_TOKEN": {
"description": "API key for the Democracy Club API - only for election postcode lookups."
},
"RECAPACHA_SITE_KEY": {
"description": "Recapacha site key. Can use v2 test keys from link.",
"documentationUrl": "https://developers.google.com/recaptcha/docs/faq#:~:text=hidden%3B%20%7D-,I%27d%20like%20to%20run%20automated%20tests%20with%20reCAPTCHA.%20What%20should%20I%20do%3F,-For%20reCAPTCHA%20v3"

},
"RECAPACHA_SECRET": {
"description": "Recapacha secret key. Can use v2 test keys from link.",
"documentationUrl": "https://developers.google.com/recaptcha/docs/faq#:~:text=hidden%3B%20%7D-,I%27d%20like%20to%20run%20automated%20tests%20with%20reCAPTCHA.%20What%20should%20I%20do%3F,-For%20reCAPTCHA%20v3"

},
"STRIPE_DONATE_PUBLIC_KEY": {
"description": "Stripe donate public key (test key). Only needed for donate page testing."
},
"STRIPE_DONATE_SECRET_KEY": {
"description": "Stripe donate secret key (test key). Only needed for donate page testing."
}

},
"dockerComposeFile": "../../docker-compose.yml",
"service": "twfy",
"workspaceFolder": "/twfy",
Expand Down
30 changes: 30 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
{
"name": "theyworkforyou",
"secrets": {
"TWFY_VOTES_URL": {
"description": "URL to the TWFY Votes page"
},
"MAPIT_URL": {
"description": "URL to the MapIt API - defaults to mapit.mysociety.org"
},
"MAPIT_API_KEY": {
"description": "API key for the MapIt API - optional for small numbers of queries"
},
"DEMOCRACYCLUB_TOKEN": {
"description": "API key for the Democracy Club API - only for election postcode lookups."
},
"RECAPACHA_SITE_KEY": {
"description": "Recapacha site key. Can use v2 test keys from link.",
"documentationUrl": "https://developers.google.com/recaptcha/docs/faq#:~:text=hidden%3B%20%7D-,I%27d%20like%20to%20run%20automated%20tests%20with%20reCAPTCHA.%20What%20should%20I%20do%3F,-For%20reCAPTCHA%20v3"

},
"RECAPACHA_SECRET": {
"description": "Recapacha secret key. Can use v2 test keys from link.",
"documentationUrl": "https://developers.google.com/recaptcha/docs/faq#:~:text=hidden%3B%20%7D-,I%27d%20like%20to%20run%20automated%20tests%20with%20reCAPTCHA.%20What%20should%20I%20do%3F,-For%20reCAPTCHA%20v3"

},
"STRIPE_DONATE_PUBLIC_KEY": {
"description": "Stripe donate public key (test key). Only needed for donate page testing."
},
"STRIPE_DONATE_SECRET_KEY": {
"description": "Stripe donate secret key (test key). Only needed for donate page testing."
}

},
"dockerComposeFile": "../docker-compose.yml",
"service": "twfy",
"workspaceFolder": "/twfy",
Expand Down

0 comments on commit d271892

Please sign in to comment.