MarginaliaSearch/run/readme.md

33 lines
753 B
Markdown
Raw Normal View History

2023-03-04 13:35:50 +00: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
2023-03-04 14:17:02 +00:00
$ ./gradlew assemble docker
2023-03-04 13:35:50 +00:00
$ 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](http://localhost:8080) and try a few searches.
`setup.sh` only needs to be run once.