To use all your existing files within a brewed LRR, you can issue the following commands:
lrr="${HOME}/Library/Application Support/LANraragi/"# if youβre on Linux, use the next line instead:#lrr="${HOME}/LANraragi/"cd<LRRfolder>mkdir-p"${lrr}"mvcontent"${lrr}/content"mvlog"${lrr}/log"mvtemp"${lrr}/temp"mvdatabase.rdb"${lrr}/database/database.rdb"
This simply moves all your files to the default location where LRR looks for them when installed with Homebrew. You can do that manually too, if you chose so.
If you succeeded in moving, you can proceed to the next step!
Installation
If you do not have Homebrew installed yet, simply use the command on their page.
The next step is to then install LRR.
brew install lanraragi
Configuration
Your content folder is stored by default in ${HOME}/Library/Application Support/LANraragi. (${HOME}/LANraragi/content on Linux.)
The Redis database is stored in ${HOME}/Library/Application Support/LANraragi/database. (${HOME}/LANraragi/database on Linux.)
While the in-app settings page won't allow you to change the location of the content folder, you can do so by overriding the LRR_DATA_DIRECTORY environment variable before launching.
Usage
Once installed, you can get started by running lanraragi and opening http://localhost:3000.
brew
To change the default port or add SSL support, see this page: