No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
nginx
samples
uploads
.dockerignore
.gitignore
Dockerfile
README.md
docker-compose.yml
index.js
package-lock.json
package.json

README.md

speech-translator-server

Here the client is as Google Chrome Extensions

Get Started

Set up

It needs credential to use Google Cloud APIs, so we need to write key.json for authenticating.

This document helps you to get credentials as json file.

and copy & paste it. (or send it)

$ vi key.json

{
  "type": "service_account",
  "project_id": "project-id",
  "private_key_id": "some_number",
  ...
}

also copy our samples/node-configs.js to configs/index.js, and fill in the fields.

Deploy with docker containers

$ sudo apt install docker docker-compose -y
$ sudo docker build --tag node-nginx:1.0 .
$ sudo docket-compose up -d

Finally

If you get "Hello World" when following command, it works fine.

$ curl http://localhost/
Hello World!

Preview with client for Google Chrome Extension

Video v1.2

Youtube: https://youtu.be/Dry5jo6nQF4