Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 4486244

Browse files
authored
Update README.md
1 parent a359923 commit 4486244

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

README.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,36 @@ languages:
44
- java
55
products:
66
- azure
7-
description: "Getting Started with Cosmosdb - Create Cosmos DB With Kind Mongo DB - in Java"
7+
- azure-cosmos-db
8+
description: "Azure Cosmos DB sample for high availability."
89
urlFragment: cosmosdb-java-create-documentdb-and-get-mongodb-connection-string
910
---
1011

11-
# Getting Started with Cosmosdb - Create Cosmos DB With Kind Mongo DB - in Java #
12+
# Create Azure Cosmos DB with MongoDB support (Java)
1213

14+
Azure Cosmos DB sample for high availability.
1315

14-
Azure CosmosDB sample for high availability.
15-
- Create a CosmosDB configured with MongoDB kind.
16-
- Get the mongodb connection string
17-
- Delete the CosmosDB.
16+
- Create a Cosmos DB configured with MongoDB kind.
17+
- Get the mongodb connection string
18+
- Delete the Cosmos DB.
1819

1920

20-
## Running this Sample ##
21+
## Running this sample
2122

2223
To run this sample:
2324

2425
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-libraries-for-java/blob/master/AUTH.md).
2526

26-
git clone https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-get-mongodb-connection-string.git
27+
```bash
28+
git clone https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-get-mongodb-connection-string.git
29+
cd cosmosdb-java-create-documentdb-and-get-mongodb-connection-string
30+
mvn clean compile exec:java
31+
```
2732

28-
cd cosmosdb-java-create-documentdb-and-get-mongodb-connection-string
29-
30-
mvn clean compile exec:java
31-
32-
## More information ##
33+
## More information
3334

3435
[http://azure.com/java](http://azure.com/java)
3536

36-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
37-
38-
---
37+
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).
3938

4039
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

0 commit comments

Comments
 (0)