Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thehighestprimenumber committed Dec 20, 2024
1 parent 929bc6c commit b1cfa4d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .env_example
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ NODE_PATH=src/
ESLINT_NO_DEV_ERRORS=true
REACT_APP_FRONT_END_URL=3001

REACT_APP_API_KEY=<FIREBASE>
REACT_APP_AUTH_DOMAIN=<FIREBASE>
REACT_APP_PROJECT_ID=<FIREBASE>
REACT_APP_STORAGE_BUCKET=<FIREBASE>
REACT_APP_MESSAGING_SENDER_ID=<FIREBASE>
REACT_APP_APP_ID=<FIREBASE>
REACT_APP_API_KEY=<get from https://console.firebase.google.com/u/0/project/etitango-5118a/settings/general/web:NGU3MjE2NDctODNjYy00YTFjLTliZWEtZDAxODhiNTExZDBk>
REACT_APP_AUTH_DOMAIN=<get from https://console.firebase.google.com/u/0/project/etitango-5118a/settings/general/web:NGU3MjE2NDctODNjYy00YTFjLTliZWEtZDAxODhiNTExZDBk>
REACT_APP_PROJECT_ID=<get from https://console.firebase.google.com/u/0/project/etitango-5118a/settings/general/web:NGU3MjE2NDctODNjYy00YTFjLTliZWEtZDAxODhiNTExZDBk>
REACT_APP_STORAGE_BUCKET=<get from https://console.firebase.google.com/u/0/project/etitango-5118a/settings/general/web:NGU3MjE2NDctODNjYy00YTFjLTliZWEtZDAxODhiNTExZDBk>
REACT_APP_MESSAGING_SENDER_ID=<get from https://console.firebase.google.com/u/0/project/etitango-5118a/settings/general/web:NGU3MjE2NDctODNjYy00YTFjLTliZWEtZDAxODhiNTExZDBk>
REACT_APP_APP_ID=<get from https://console.firebase.google.com/u/0/project/etitango-5118a/settings/general/web:NGU3MjE2NDctODNjYy00YTFjLTliZWEtZDAxODhiNTExZDBk>
3 changes: 3 additions & 0 deletions eti-starterPack.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@
`$ firebase emulators:start --export-on-exit=<PATH_TO_DIRECTORY> --import <PATH_TO_DIRECTORY>`
where the path is any local folder user decides to use to storage data.
6. Create file extensions/firestore-send-email.env (from repository root, a level up from functions) with the data provided by the team

cuando se crea el usuario en auth, también se crea en la DB. entonces después en el localhost:4000 vas a firestore (la db) y a mano le agregás la propiedad superadmin. eso solo al primer usuario, después lo podés hacer todo desde la UI.
doc: user/<userid> - prop: roles: {superadmin: true}
6 changes: 6 additions & 0 deletions extensions/firestore-send-mail.env_example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[email protected]
LOCATION=us-central1
MAIL_COLLECTION=mail
SMTP_CONNECTION_URI=<get from https://console.firebase.google.com/u/0/project/etitango-5118a/extensions/instances/firestore-send-email?tab=config>
TEMPLATES_COLLECTION=templates
USERS_COLLECTION=users

0 comments on commit b1cfa4d

Please sign in to comment.