-
Notifications
You must be signed in to change notification settings - Fork 4
Google Cloud Setup
Rajat Kulkarni edited this page May 8, 2025
·
7 revisions
- A Google Cloud Platform (GCP) account.
- A Google Cloud project with the Text-to-Speech API enabled.
- The Google Cloud SDK installed and initialized.
- Billing enabled on your GCP project.
- Follow the GCP Vercel Integration Guide to configure GCP for production deployment.
- Since we are initializing with GCP, we do not need to set
GOOGLE_APPLICATION_CREDENTIALSmanually.
- Use the Google Cloud SDK Initialization Guide to configure your local environment.
- Ensure you have vercel CLI installed
(npm i -g vercel).
-
Our web application is serverless in production. For local development, use the Vercel CLI.
-
Run
vercel devin one terminal. -
The local server runs on port 3000 by default. Monitor the
vercel devterminal for POST request logs and potential errors. -
Since we use Vercel, our backend and frontend are hosted at the same URL - localhost:3000.
Ensure that the Text-to-Speech API is enabled in GCP.
Check if the GCP project is properly initialized.
Verify that the IAM permissions for your GCP account include roles/texttospeech.admin.
Run gcloud auth application-default login to authenticate properly.
Run gcloud auth application-default print-access-token to check access token is successfully generated.
- Introduction
- For Everyone
- For Developers
- For Designers
- For Management
- Introduction
- For Everyone
- For Developers
- For Designers
- For Management
- Banner
- Other Reusable Components (to be added)
- Introduction
- For Everyone
- For Developers
- For Designers
- For Management
- Resources for a New Developer
- Resources for a New Designer
- Resources for a New Project Manager