MarginaliaSearch/run
2023-03-04 16:02:02 +01:00
..
env WIP run and setup 2023-03-04 14:38:21 +01:00
template/conf WIP run and setup 2023-03-04 14:42:24 +01:00
.gitignore Restructuring the git repo 2023-03-04 13:19:01 +01:00
nginx-site.conf Restructuring the git repo 2023-03-04 14:00:46 +01:00
readme.md Automatic conversion at start-up given correct conditions 2023-03-04 16:02:02 +01:00
reconvert.sh WIP run and setup 2023-03-04 15:41:54 +01:00
setup.sh WIP run and setup 2023-03-04 15:17:02 +01:00

Run

When developing locally, this directory will contain run-time data required for the search engine. In a clean check-out, it only contains the tools required to bootstrap this directory structure.

Set up

While the system is designed to run bare metal in production, for local development, you're strongly encouraged to use docker or podman.

From a fresh to running system, you'll need to do this:

From the project root

$ run/setup.sh

$ ./gradlew assemble docker

$ docker-compose up -d mariadb

$ run/reconvert.sh

$ docker-compose up

Wait for the line 'Auto-conversion finished!', it should now be possible to visit http://localhost:8080 and try a few searches.

setup.sh only needs to be run once.