message: docs(dev): add ad note about custom dataset server into dev guide
diff: @@ -158,6 +158,57 @@ cd packages_rs/nextclade-web
  yarn format:fix
  ```
  +
  +
  +## Trying custom datasets locally
  +
  +### Prepare and serve datasets locally
  +
  +- Build a fresh dataset directory as described in the [nextstrain/nextclade_data](https://github.com/nextstrain/nextclade_data) repo. At the time of writing it simply means to run `./scripts/rebuild` and to observe the `data_output/` created, containing the dataset files and associated index files
  +- Serve datasets directory locally using any static file server. For example, using `serve` package from NPM:
  + ```bash
  + npx serve --cors --listen=tcp://0.0.0.0:27722 data_output/
  + ```
  + In this example, files should be available at
  + ```
  + http://localhost:27722/
  + ````
  + in particular, you should be able to download `index_v2.json` using
  +
  + ```bash
  + curl http://localhost:27722/index_v2.json
  + ```
  + or when navigating to this address in the browser.
  +
  +### Temporarily use custom dataset server with Nextclade CLI
  +
  +Run the usual `dataset list` and dataset `get commands`, with an additional flag:
  +
  +```
  +--server=http://localhost:27722
  +```
  +
  +This will tell Nextclade to use the local server for dataset queries.
  +
  +### Permanently configure Nextclade CLI and Nextclade Web to use custom dataset server
  +
  +Open `.env` file in the root of the project (if you don't have it, create it based on `.env.example`) and set the `DATA_FULL_DOMAIN` variable to the address of your local dataset server. In the example above it would be:
  +
  +```
  +DATA_FULL_DOMAIN=http://localhost:27722
  +```
  +
  +Rebuild Nextclade CLI and it will use this address by default for all dataset requests (without need for the additional `--server` flag).
  +
  +Rebuild Nextclade Web and it will use this address by default for all dataset requests.
  +
  +Note that this address will be baked into the CLI binaries or into the Web app permanently. Switch to the default value and rebuild to use the default dataset server deployment again.
  +
  +Any network location can be used, not only localhost.
  +
  +The same mechanism is used during CI builds for master/staging/production environments, to ensure they use their corresponding dedicated dataset server.
  +
  +
  ## Maintenance
  There are 2 release targets, which are released and versioned separately:
  