June 12, 2022
manticmarkets@gmail.com
thereomone git branch
firestore.rules/common/envs/common/envs/constants.ts/functions/.env with NEXT_PUBLIC_FIREBASE_ENV=SUPERSYNC[x] $ firebase use mantic-markets to select the main project
[x] firebase firestore:indexes > firestore.indexes.json to copy indexes
[x] Copy secrets (Mailgun & Stripe keys) from main project
firebase functions:secrets:access MAILGUN_KEYfirebase functions:secrets:access STRIPE_APIKEYfirebase functions:secrets:access STRIPE_WEBHOOKSECRET[x] $ firebase use <PROJECT_ID> to select the new Firebase project
[x] Set the secrets on the new project:
firebase functions:secrets:set MAILGUN_KEY
firebase functions:secrets:set STRIPE_APIKEYfirebase functions:secrets:set STRIPE_WEBHOOKSECRET[x] $ firebase deploy to deploy:
(Note: this will take a while)
[x] Copy over the functionEndpoints into the new config file
package.json$ firebase deploy --only firestore:rules to redeploy security rulestheoremone.manifold.markets :
manticmarkets@gmail.comtheoremone git branchNEXT_PUBLIC_FIREBASE_ENV; VALUE: THEOREMONE)Problem:
functions: Upload Error: HTTP Error: 403, <?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>service-802386508975@gcf-admin-robot.iam.gserviceaccount.com does not have storage.objects.create access to the Google Cloud Storage bucket.</Details></Error>
Problem:

Parameters< syntax is breaking itProblem:
[ ] TODO: New accounts should start with A$ 5000