Comment on page
Current db setup
has option to use
NW.js/Electron friendly - JS-only backend is level-js or Medea
However indexDb has a 50mb total file size restriction. This might seem ok at first, but some transcriptions can reach 5mb in size in their json representation. So this would not scale if you add n number of transcription.
Decided to move to medea instead.
this required installing medeadown separatly
npm install medeadown -save
and changing the
LinvoDB
data store to it.LinvoDB.defaults.store = { db: require("medeadown") };
as well as setting up the
dbPath
LinvoDB.dbPath = window.config.dataPath;
In this case using App.dataPath
require('nw.gui').App.dataPath
eg "/Users/pietropassarelli/Library/Application Support/autoEdit2"
and the db would be stored in the folder
/Users/pietropassarelli/Library/Application Support/autoEdit2/transcription.db
Last modified 5yr ago