Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create config.json for Whitelabelling #4192

Closed
gigincg opened this issue Dec 2, 2022 · 3 comments · Fixed by #4627
Closed

Create config.json for Whitelabelling #4192

gigincg opened this issue Dec 2, 2022 · 3 comments · Fixed by #4627
Assignees

Comments

@gigincg
Copy link
Member

gigincg commented Dec 2, 2022

We need to create a config.json file that would contain all environment variables relevant for Whitelabelling CARE.

There should be a useEffect in the App.tsx file, that does `fetch("./config.json") and initializes the global config for CARE.

The App should be "Loading" Until the config.json is fetched and the config state is initialized.

Here's a list of basic items we can whitelabel:

dashboard_url: "https://dashboard.coronasafe.network",
kasp_label: "KASP",
kase_full_string: "Karunya Arogya Sethu Padhathi",
enable_kasp: false,
government_logo: "cdn.coronasafe.network/xxx"
maps_api_key: "xxxxxxxxx",
sentry_api_key: "xxxxxxxxxx"
@gigincg gigincg changed the title Cerate config.json for Whitelabelling Create config.json for Whitelabelling Dec 2, 2022
@rithviknishad rithviknishad self-assigned this Dec 2, 2022
@github-actions
Copy link

Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity.

@rithviknishad
Copy link
Member

Configurations for staging added to coronasafe/care_deploy_configs/configs/ directory.

cc: @mathew-alex

@rithviknishad rithviknishad added the waiting for related PR a co-related detail PR is under construction label Jan 11, 2023
@rithviknishad
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants