Skip to content

Commit

Permalink
feat: DATA-11968 Update Model
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-rmalyavc committed May 29, 2024
1 parent 8a9e366 commit 97875ad
Show file tree
Hide file tree
Showing 6 changed files with 4,205 additions and 7,131 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ FIRE_API_KEY=
FIRE_DOMAIN=
FIRE_PROJECT_ID=

GOOGLE_API_KEY=
GOOGLE_SERVICE_ACCOUNT_JSON_BASE64=

NEXT_PUBLIC_SEGMENT_WRITE_KEY=" "
NEXT_PUBLIC_SENTRY_DSN=" "

MODEL_NAME=
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ To run the app locally, follow these instructions:
6. Enter a JWT secret in `.env`.
- JWT key should be at least 32 random characters (256 bits) for HS256
7. [Replace FIRE_API_KEY, FIRE_DOMAIN and FIRE_PROJECT_ID in .env](<[https://console.firebase.google.com](https://developer.bigcommerce.com/api-docs/apps/tutorials/build-a-nextjs-sample-app/step-3-integrate#set-up-firebase-database)>)
8. [Replace GOOGLE_API_KEY= in .env](https://cloud.google.com/docs/authentication/api-keys)
8. Replace GOOGLE_SERVICE_ACCOUNT_JSON_BASE64 in .env
- [Create a service account](https://cloud.google.com/iam/docs/service-accounts-create)
- [Create a service account key](https://cloud.google.com/iam/docs/keys-create-delete)
- Download the result json file, base64 encode it and replace GOOGLE_SERVICE_ACCOUNT_JSON_BASE64 in .env with the result string
9. Start your dev environment in a **separate** terminal from `ngrok`. If
`ngrok` restarts, update callbacks in steps 2 and 5 with the new ngrok_id.
- `npm run dev`
Expand Down
Loading

0 comments on commit 97875ad

Please sign in to comment.