commonvoice-monitor

Fetch data from common voice and save it to a database for later analysis

Prerequisites

Make

Docker

Docker compose

  • Google spreadsheet credential file (service account) as private-key.json

Environment Variables

To run this project, you will need to add the following environment variables to your production.env file

MONGO_URI

Example of .env file

LOCALE=ca
GOOGLE_SHEETS_DOCUMENT_ID=YOUR_DOCUMENT_ID
FIRST_WEEK_DATE=2022-02-15T00:00:00.000Z
MONGO_URI=mongodb://EXAMPLE_USER:EXAMPLE_PASSWORD@YOUR_HOST:27017/DATABASE_NAME?authSource=admin

Installation

Install commonvoice-monitor

Run Locally

Clone the project

git clone https://github.com/projecte-aina/common-voice-monitor

Go to the project directory

cd common-voice-monitor

Install dependencies

yarn install

Start the server

yarn start

Deployment (docker compose)

To deploy this project run

make deploy

Authors