Tipitaka.lk
Buddha Jayanthi Tripitaka of Sri Lanka and its Sinhala translation. Also the cst pali atuwa and its sinhala translation
Install / Use
/learn @pathnirvana/Tipitaka.lkREADME
Tipitaka.lk - Buddha Jayanthi Tripitaka and Atuwa
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
Run Production Website
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
Compiles and hot-reloads for development
node server/server.js
npm run serve
Update Prod Website when text changes
- 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
For Android App
- 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
For Desktop App
- 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.
