This is the ClimateIQ Authentication Service app.
npm run dev -- --host
Generally, you need Editor or Owner permissions to ClimateIQ GCP to deploy to Firebase Hosting. See here for a list of users with permissions. GCP Owners can also set up more granular roles.
Install firebase-cli, then:
firebase login
npm run build
firebase deploy --project climateiq
If you run into any errors, try logging into Firebase again:
firebase login --reauth
The password configuration controls the limits on user password values (e.g., minimum length).
To update the rules, edit password-config.json
, which is a JSON file describing an
object with these properties.
Then, run:
firebase login
npm run updatePasswordConfig
NOTE: Running this command will force any users whose passwords do not meet the new requirements to update their password on next sign in.
If you have deploy permissions, then you will have update password configuration permissions. For more detail on permissions, see the section on deploying.
If you run into any errors, try logging into Firebase again:
firebase login --reauth
For posterity, please also check in any changes to password-config.json
.
You might run into issues when running npm install
because of the @carbon/vue
dependency (see this
issue).
As a workaround, install like this instead:
npm pack @carbon/vue
npm install <path to downloaded package>