Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.45 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.45 KB

lsdb-server

codecov


A lightweight, fast and easy to use server for the lsdb server test branch.


Configuring the server

lsdb-server works with lsdb server test branch if you have the hips partitioned catalogs in your server.

Generate the hips using hipscat-import.


Running the server

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; 
        }
    }
    ...
}

Parameters

  • 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.