Run
geolith-search --glx ./india.glx
Or set the path in the environment:
GLX_FILE=./india.glx geolith-search
The server listens on 127.0.0.1:4000 by default. See Configuration for every setting.
Health
curl 'http://localhost:4000/health'
{
"places": 6182313,
"status": "ok"
}
/health returns 200 while the server runs. places is the number of places in the file.
Logs
RUST_LOG sets the filter. The default is geolith_search=info,tower_http=info. See Privacy for what is logged.