Skip to content

Commit abc2557

Browse files
committed
Fixing typos
1 parent ed5ab4d commit abc2557

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/quick-start/storm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ At the end of this section, you will have:
2020
Simply run:
2121

2222
```bash
23-
curl -sLo- https://raw.githubusercontent.com/bullet-db/bullet-db.github.io/src/examples/install-all.sh | bash
23+
curl -sLo- https://raw.githubusercontent.com/bullet-db/bullet-db.github.io/src/examples/install-all-storm.sh | bash
2424
```
2525

2626
This will setup a local Storm cluster, a Bullet running on it, the Bullet Web Service and a Bullet UI for you. Once everything has launched, you should be able to go to the Bullet UI running locally at [http://localhost:8800](http://localhost:8800). You can then [**continue this guide from here**](#what-did-we-do).
@@ -149,7 +149,7 @@ Note that we turned on the built-in REST pubsub in the Web Service when launchin
149149
You can verify that it is up by running a Bullet query or getting the example columns through the API:
150150

151151
```bash
152-
curl -s -H 'Content-Type: text/plain' -X POST -d '{}' http://localhost:9999/api/bullet/query
152+
curl -s -H 'Content-Type: text/plain' -X POST -d '{"aggregation": {"size": 1}}' http://localhost:9999/api/bullet/sse-query
153153
curl -s http://localhost:9999/api/bullet/columns
154154
```
155155

@@ -194,7 +194,7 @@ Check out and follow along with the [UI Usage](../ui/usage.md) page as it shows
194194
If you were using the [Install Script](#install-script) or if you don't want to manually bring down everything, you can run:
195195

196196
```bash
197-
curl -sLo- https://raw.githubusercontent.com/bullet-db/bullet-db.github.io/src/examples/install-all.sh | bash -s cleanup
197+
curl -sLo- https://raw.githubusercontent.com/bullet-db/bullet-db.github.io/src/examples/install-all-storm.sh | bash -s cleanup
198198
```
199199

200200
If you were performing the steps yourself, you can also manually cleanup **all the components and all the downloads** using:

examples/install-all-storm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ launch_bullet_web_service() {
146146
println "Testing the Web Service"
147147
println ""
148148
println "Getting one random record from Bullet through the Web Service..."
149-
curl -s -H 'Content-Type: text/plain' -X POST -d '{}' http://localhost:9999/api/bullet/query
149+
curl -s -H 'Content-Type: text/plain' -X POST -d '{"aggregation": {"size": 1}}' http://localhost:9999/api/bullet/sse-query
150150
println ""
151151
println "Getting column schema from the Web Service..."
152152
println ""
@@ -207,7 +207,7 @@ cleanup() {
207207

208208
pkill -f "[a]pache-storm-${STORM_VERSION}"
209209
pkill -f "[e]xpress-server.js"
210-
pkill -f "[e]xample_drpc_pubsub_config.yaml"
210+
pkill -f "[e]xample_rest_pubsub_config.yaml"
211211

212212
sleep 3
213213

0 commit comments

Comments
 (0)