Currently we are using Cassandra as the (only possible) storage back-end for RESTBase in MediaWiki-Vagrant. However, it consumes a lot of user's precious memory and is really not needed for a development set-up. We are working on getting T88191: SQLite3 storage module back-end for RESTBase out of the door, and as soon as it's ready, we can switch to the more lightweight SQLite variant.
|Resolved||mobrovac||T107447 Switch to SQLite as the RESTBase back-end in MW-Vagrant|
|Resolved||Pchelolo||T88191 SQLite3 storage module back-end for RESTBase|
|Resolved||Pchelolo||T89888 Support 'static' columns in SQLite3 module back-end for RESTBase|
|Resolved||Pchelolo||T103406 move restbase-mod-table-cassandra tests and spec into a separate module|
|Resolved||Hardikj||T99696 cleanup and refactor test/index.js|
In order to keep the compatibility with Windows hosts which do not allow symlinks out of the box (cf. T100202), we use npm install --no-bin-links. However, the install procedure of the sqlite3 npm package relies on node-pre-gyp having a symlink created in node_modules/.bin, causing the installation to fail:
$ npm install --no-bin-links > firstname.lastname@example.org install /vagrant/srv/restbase/node_modules/restbase-mod-table-sqlite/node_modules/sqlite3 > node-pre-gyp install --fallback-to-build sh: 1: node-pre-gyp: not found npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian npm ERR! weird error 127 npm ERR! not ok code 0