Prebuilt RQLite binaries for Linux, macOS, and Windows
npm i -g rqlite
# Server
rqlited -node-id=1 data1
# CLI
rqlite
Also, it can be required by Node.js to spawn it easily
const rqlited = require('rqlite')
console.log(rqlited) // => '.../node_modules/rqlite/bin/rqlited'
How to make a new build
Know your runtime:
node -e "console.log(process.platform + '-' + process.arch)"
# E.g. "linux-x64"
Create a folder with your runtime name like npm/linux-x64
, and adjust the package file.
Finally, copy the compiled binaries into npm/linux-x64/bin/...
.
MIT