Skip to content

KeRusty/text-to-speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obtain authentication credentials.

MAKE SURE THE API IS RUNNING BEFORE ATTEMPTING TO USE THIS

Create local credentials by running the following command

* Go to API Manager -> Credentials
* Click "New Credentials", and create a service account or [click here](https://console.cloud.google.com/project/_/apiui/credential/serviceaccount)
* Download the JSON for this service account, and set the `GOOGLE_APPLICATION_CREDENTIALS`
environment variable to point to the file containing the JSON credentials.

Set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable:

 Mac OSX or Linux:

    export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/[FILE_NAME].json"

Windows (Command Prompt):

    set GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account_file.json

Windows (PowerShell):

    $env:GOOGLE_APPLICATION_CREDENTIALS="/path/to/service_account_file.json"

Before Running

Please have the API Running at http://localhost:3000

npm install

This will install the app

npm start

Runs the app in the development mode.

Keep in mind to run it in http://localhost:3001 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •