Skip to content

tetsis/cloud-voice-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker

Build image

docker build -t tetsis/cloud-voice-recognition-proxy:latest -f proxy/Dockerfile .
docker build -t tetsis/cloud-voice-recognition-api:latest -f api/Dockerfile .

Log in Docker Hub

docker login

Push image to Docke Hub

docker push tetsis/cloud-voice-recognition-proxy:latest
docker push tetsis/cloud-voice-recognition-api:latest

How to deploy

Create enviroment variable files

Change current directory to api, then run follows commands.

cp .api_env.sample .api_env
cp GOOGLE_APPLICATION_CREDENTIALS.json.sample GOOGLE_APPLICATION_CREDENTIALS.json

Edit above files for your enviroment.

Change current directory to proxy, then run follows commands.

cp .htpasswd.sample .htpasswd

Edit above files for your enviroment.

Pull Docker images

docker-compose pull

Restart process

docker-compose down
docker-compose up -d

Amplify

Install

npm install -g @aws-amplify/cli

Configure

amplify configure

Initialize

Chage directory to project folder, then run this command.

amplify init

Web hosting

You can select PROD to use https access.

amplify hosting add
Select the environment setup: PROD (S3 with CloudFront using HTTPS)

Publish

amplify publish

Bug fix

Amplifyの不具合でCloudFrontの設定不足によりAccess Deniedになるため以下を修正

  • CloudFrontページにアクセス
  • Distributionsから該当のものを選択
  • Origins and Origin GroupsのOriginsで「Edit」をクリック
  • Restrict Bucket Accessを「Yes」にする
  • Origin Access Identityを「Use an Existing Identity」を選択
  • Your Identitiesを選択
  • Grant Read Permissions on Bucketで「Yes, Update Bucket Policy」を選択
  • 「Yes, Edit」をクリック

Auth

amplify add auth

Install Node.js packages

npm install aws-amplify
npm install aws-amplify-vue

Admin dashboard based on paper dashboard UI template + vue-router

This project is a vue version of Paper-dashboard designed for vue js.The dashboard includes vue-router

Check the Live Demo here.

Nuxt Version (outdated Bootstrap 3)

Documentation

Link to Documentation

Build Setup

install dependencies

npm install

serve with hot reload at localhost:8080

npm run dev

build for production with minification

npm run build

lint

npm run lint

Contribution guide

  • Fork the repository
  • npm install or yarn install
  • Make changes
  • Open Pull Request

For detailed explanation on how things work, checkout the guide

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published