A lightweight, fast and easy to use server for the lsdb server test branch.
lsdb-server
works with lsdb server test branch if you have the hips partitioned catalogs in your server.
Generate the hips using hipscat-import.
To run the server from source, install rust and run:
cargo run --release
Point nginx to the directory containing the hips and just point requests with args to the server.
server {
listen 80;
...
location /hips {
# folder or parent folder containing the HiPSCat
alias /path/to/hips;
if ($args) {
# This is the lsdb_server ip
proxy_pass http://localhost:5000;
}
}
...
}
columns
: The columns to return in the response. Default is all columns. Default is all columns.filters
: A list of filters to apply ["r_auto < 18", ...]. Default is no filters.