Updating online-help & README

This commit is contained in:
2020-03-19 17:03:10 +01:00
parent e627698b0c
commit baa57a08e7
2 changed files with 29 additions and 8 deletions

View File

@@ -22,13 +22,14 @@ This enables the index implementations to be agnostic from the underlying data s
* Rust: https://www.rust-lang.org * Rust: https://www.rust-lang.org
## Quick start
Checkout the dependencies in the parent folder: Checkout the dependencies in the parent folder:
* mercator_db
* ironsea_index * mercator_db https://github.com/epfl-dias/mercator_db
* ironsea_index_hashmap * ironsea_index https://github.com/epfl-dias/ironsea_index
* ironsea_index_sfc_dbc * ironsea_index_hashmap https://github.com/epfl-dias/ironsea_index_hashmap
* ironsea_index_sfc_dbc https://github.com/epfl-dias/ironsea_index_sfc_dbc
## Quick start
For 3 datasets, `setA`, `setB`, `setC`, the following files are expected to be in the current folder: For 3 datasets, `setA`, `setB`, `setC`, the following files are expected to be in the current folder:
* setA: * setA:
@@ -75,6 +76,21 @@ For more options, please refer to the online help:
cargo run --release -- --help cargo run --release -- --help
``` ```
## Installation
To install the software on the system, after checking out the
dependencies you can use:
```sh
cargo install --path .
```
Then in any folder you can then use:
```sh
mercator_indexer -f json setA:v0.1 setB setC:MyAwesomeVersion
```
## Acknowledgements ## Acknowledgements
This open source software code was developed in part or in whole in the This open source software code was developed in part or in whole in the

View File

@@ -47,9 +47,14 @@ struct Opt {
/// List of datasets to index /// List of datasets to index
/// ///
/// The data files are expected to be found in the current directory.
///
/// Syntax per dataset: /// Syntax per dataset:
/// name[:version]: where name is the basename of the input files, and ///
/// `version` a string to add to the dataset description /// name[:version]
///
/// where `name` is the basename of the input files, and `version` a
/// string to add to the dataset description.
datasets: Vec<String>, datasets: Vec<String>,
} }