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
Block search calls that dont include a collection in the body or query param (#240)
* Block search calls that dont include a collection in the body or query param
* also allow collectionid to be in the filter
* switch to orjson
---------
Co-authored-by: Marc Lichtman <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,16 +103,21 @@ To run the servers, use
103
103
./scripts/server
104
104
```
105
105
106
-
This will bring up the development database, STAC API, Tiler, Azure Functions, and other services.
106
+
This will bring up the development database, STAC API, Tiler, Azure Functions, and other services. If at this point something errors out (e.g. nginx complaining about a config file), try deleting the containers/images and rerunning `./scripts/setup`.
107
107
108
-
To test the tiler, try going to <http://localhost:8080/data/mosaic/info?collection=naip>.
108
+
The STAC API can be found at <http://localhost:8080/stac/> (goes through nginx) or <http://localhost:8081> directly.
109
+
110
+
To hit the tiler, try going to <http://localhost:8080/data/mosaic/info?collection=naip>, although it will fail due to lack of an authorization header.
109
111
110
112
#### Testing and and formatting
111
113
112
-
To run tests, use
114
+
To run tests, use one of the following (note, you don't need `./scripts/server` running). If you get an immediate error related to library stubs, just run it again. The tiler tests may fail locally, TBD why.
0 commit comments