- Visit the Google Developers Console
- Create a new project or click on an existing project.
- Navigate to APIs & auth > APIs section and turn on the following APIs (you may need to enable billing in order to use these services): Google Cloud Speech API
- Navigate to APIs & auth > Credentials and then:
- If you want to use a new service account key, click on Create credentials and select Service account key. After the account key is created, you will be prompted to download the JSON key file that the library uses to authenticate your requests.
- If you want to generate a new service account key for an existing service account, click on Generate new JSON key and download the JSON key file.
After at Authentication done getting the json file and insert At folder/file /Gist
const speechClient = new speech.SpeechClient({
...,
keyFilename: '../gist-google-speech.json' // path to the json file
});
# Git Clone Project
git clone git@github.com:CanHCI-Project/Gist.git
# Cd project
cd Gist
# install dependencies project
npm install
# Cd folder speech-websocket
cd speech-websocket
# install dependencies websocket
npm install
# run websocket
npm i -g nodemon
nodemon app
# run project app
npm run serve
# build for production with minification and to build Progressive Web Apps
npm run build