- The latest version (10+) of Node.js
- MariaDB version 10+
- Mroonga storage engine for fulltext search.
sudo apt install mariadb-plugin-mroonga
- Mroonga storage engine for fulltext search.
- Nginx
- Redis (optional)
# install dependencies
sudo apt update
sudo apt install mariadb-server
sudo apt install mariadb-plugin-mroonga
sudo apt install nginx
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install nodejs
# install LibertyEngine
git clone https://github.com/librewiki/liberty-engine.git
cd liberty-engine
npm i
npm run setup
npm start
npm stop
git pull
npm run upgrade
npm run dev # runs API development server at http://localhost:3001
bin/import-from-mw < your_mw_dump_file.xml
sudo mysql
mysql> INSTALL SONAME 'ha_mroonga';