You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-5Lines changed: 34 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,42 @@ See [Development](./docs/development.md) for detailed guidance on how to work on
16
16
17
17
### Quickstart
18
18
19
-
To get a quick demo up and running execute any of the following scripts and navigate to http://localhost:8123/api.html
19
+
To get a quick demo up and running with a test dataset execute any of the following scripts and navigate to http://localhost:8123/api.html
20
20
21
21
```sh
22
-
scripts/run-with-local-s3.sh # loads a sample dataset into minio, indexes it, loads the index into minio, and runs the API
23
-
scripts/run-with-local-file.sh # indexes a sample dataset on the filesystem and runs the API
24
-
scripts/run-with-local-http.sh # loads a sample dataset into a HTTP fileserver, indexes it, and runs the API
25
-
scripts/run-with-remote-source.sh https://capella-open-data.s3.us-west-2.amazonaws.com/stac/catalog.json # indexes a public static STAC catalog over HTTPS and runs the API
22
+
# loads a sample dataset into minio, indexes it, loads the index into minio, and runs the API
23
+
scripts/run-with-local-s3.sh
24
+
# indexes a sample dataset on the filesystem and runs the API
25
+
scripts/run-with-local-file.sh
26
+
# loads a sample dataset into a HTTP fileserver, indexes it, and runs the API
27
+
scripts/run-with-local-http.sh
28
+
```
29
+
30
+
### Index Remote STAC Catalog
31
+
32
+
This project includes a convenience script to index and serve a remote STAC catalog. This script will fully index the remote STAC catalog each time it is run. This may not be the most efficient way to meet your needs, but it does help demonstrate some of this project's capabilities.
33
+
34
+
```sh
35
+
# indexes a public static STAC catalog over HTTPS and runs the API
Output includes the following information about the index.
40
+
```sh
41
+
* Indexing may take some time, depending on the size of the catalog
42
+
* Indexing to /.../source/sparkgeo/STAC-API-Serverless/.remote-source-index/httpsesapageseoxatcubesandcloudscatalogMOOCCubesandcloudscatalogjson
43
+
```
44
+
45
+
The generated index files can be inspected at `.../.remote-source-index/httpsesapageseoxatcubesandcloudscatalogMOOCCubesandcloudscatalogjson` if necessary. If at a later time you want to run the API against this same index, without re-indexing the remote STAC catalog, this can be achieved with the following:
0 commit comments