This webapp is built with Vue and Vuetify. It is designed to run in either
- Website/SPA on https://tipitaka.lk
- Offline Android app
- Offline Desktop app (Windows/Mac/Linux)
Github pages explaining the proofreading process
npm run buildand deploydistdirectory to webserver- export NODE_SERVER_MODE=production and run PM2 as below
- use PM2 to run
server/server.jsastipitaka-lk-serveron the webserver - use nginx
proxy_passdirective to pass requests from tipitaka.lk tolocalhost:8400
node server/server.js
npm run serve
- copy the changed text files in the
distdir to prod server - run
fts-populate.jsand copy thefts.dbto server - PM2 restart the
tipitaka-lk-serverto use the new db file
- Uncomment the public path in
vue.config.jsand build - Place the built files in
app/src/main/assetsdirectory in an Android webview app - Place the sqlite db files from the
serverfolder (dict.db and fts.db) in thedbassets/src/main/assets
- Follow the instructions on
server/server.jsto build a binary usingpkg. - Make a zip file containing the above binary,
node_sqlite3.node,distandserverfolders - The above steps are now included in the
dev/create-releases.ps1PowerShell script (just run it)
Please check the LICENSE file if you wish to extract any content from the website for redistribution.