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
[](https://sonarcloud.io/summary/new_code?id=clun_astra-db-java)
This client library provides a simplified way to interact with Data API for AstraDB or local instances. For detailed documentation, each operation comes with a detailed description and examples.
20
8
21
9
-[`astra-db-ts`](https://github.com/datastax/astra-db-ts) is the equivalent for typescript
@@ -37,7 +25,7 @@ You can build it locally and install it in your local repository.
37
25
3.[QuickStart with Local Instances]()
38
26
1.[Start Data Api with DSE](#31-start-data-api-with-dse)
39
27
2.[Start Data Api with HCD](#32-start-data-api-with-hcd)
40
-
3.[Datq Api Information](#33-datq-api-information)
28
+
3.[Data Api Information](#33-datq-api-information)
41
29
4.[Using Java client with Local Instance](#34-using-java-client-with-local-instance)
42
30
4.[What's Next](#4-whats-next)
43
31
@@ -184,36 +172,36 @@ public class GettingStarted {
184
172
185
173
## 3. QuickStart with Local Instances
186
174
187
-
### 3.1. Start Data Api with DSE
188
-
189
-
- Start the 2 containers with the following command:
190
-
191
-
```console
192
-
docker-compose up -d
193
-
```
175
+
> Prequisite. You need HCD, DSE or CASSANDRA running on your machine and listening on `9042`. One good way is to run HCD as a docker image following the instruction [here](https://github.com/stargate/data-api/tree/main/docker-compose).
194
176
195
-
### 3.2. Start Data Api with HCD
177
+
### 3.1 Start Data API
196
178
179
+
- Clone the repository
197
180
```
198
-
docker-compose -f docker-compose-hcd.yml up -d
181
+
git clone git@github.com:stargate/data-api.git
199
182
```
200
183
201
-
-Check the status of the containers with the following command:
184
+
-Access the folder and start the data API. Note that we position cassandra endpoint to `localhost` and datacenter to `dc1`.
0 commit comments