diff --git a/src/quickstart-sql-only-http.html b/src/quickstart-sql-only-http.html new file mode 100644 index 000000000..1b69cc52b --- /dev/null +++ b/src/quickstart-sql-only-http.html @@ -0,0 +1,287 @@ + + + + + + + Azure Cosmos DB Emulator + + + +
+
+

Congratulations! Your Azure Cosmos DB emulator is running.

+

Now, let's connect a sample app to it.

+
+

URI

+ +

Primary Key

+ +

Primary Connection String

+ +
+

Choose a platform

+
+
+ +
+
+
+
1
+
+ Open and run a sample .NET app +

+ We created a sample .NET app connected to your Azure Cosmos DB Emulator instance. Download, extract, + build and run the app. +

+ +
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB + +
+
+
+
+
+
1
+
+ Open and run a sample .NET Core app +

+ We created a sample .NET Core app connected to your Azure Cosmos DB Emulator instance. Download, + extract, build and run the app. +

+ +
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB. + +
+
+
+ +
+
+
1
+
+ Open and run a sample Java app +

+ We created a sample Java app connected to your Azure Cosmos DB Emulator instance. Download, extract, + build and run the app. +

+ +

+ Follow instructions in the readme.md to setup prerequisites needed to run Java web apps, if you + haven’t already. +

+
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB. + +
+
+
+ +
+
+
1
+
+ Open and run a sample Node.js app +

+ We created a sample Node.js app connected to your Azure Cosmos DB Emulator instance. Download, + extract, build and run the app. +

+ +

+ Run npm install and npm start, and navigate to + http://localhost:3000. +

+
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB. + +
+
+
+ +
+
+
1
+
+ Create a new Python app. +

+ Follow this + tutorial + to create a new Python app connected to Azure Cosmos DB. +

+
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB. + +
+
+
+
+
+
+ + diff --git a/src/quickstart-sql-only.html b/src/quickstart-sql-only.html new file mode 100644 index 000000000..5de90b747 --- /dev/null +++ b/src/quickstart-sql-only.html @@ -0,0 +1,287 @@ + + + + + + + Azure Cosmos DB Emulator + + + +
+
+

Congratulations! Your Azure Cosmos DB emulator is running.

+

Now, let's connect a sample app to it.

+
+

URI

+ +

Primary Key

+ +

Primary Connection String

+ +
+

Choose a platform

+
+
+ +
+
+
+
1
+
+ Open and run a sample .NET app +

+ We created a sample .NET app connected to your Azure Cosmos DB Emulator instance. Download, extract, + build and run the app. +

+ +
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB + +
+
+
+
+
+
1
+
+ Open and run a sample .NET Core app +

+ We created a sample .NET Core app connected to your Azure Cosmos DB Emulator instance. Download, + extract, build and run the app. +

+ +
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB. + +
+
+
+ +
+
+
1
+
+ Open and run a sample Java app +

+ We created a sample Java app connected to your Azure Cosmos DB Emulator instance. Download, extract, + build and run the app. +

+ +

+ Follow instructions in the readme.md to setup prerequisites needed to run Java web apps, if you + haven’t already. +

+
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB. + +
+
+
+ +
+
+
1
+
+ Open and run a sample Node.js app +

+ We created a sample Node.js app connected to your Azure Cosmos DB Emulator instance. Download, + extract, build and run the app. +

+ +

+ Run npm install and npm start, and navigate to + http://localhost:3000. +

+
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB. + +
+
+
+ +
+
+
1
+
+ Create a new Python app. +

+ Follow this + tutorial + to create a new Python app connected to Azure Cosmos DB. +

+
+
+ +
+
2
+
+ Learn more about Azure Cosmos DB. + +
+
+
+
+
+
+ + diff --git a/webpack.config.js b/webpack.config.js index 0b2416f68..ecb9758b8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -133,9 +133,15 @@ module.exports = function (_env = {}, argv = {}) { template: "src/Terminal/index.html", chunks: ["terminal"], }), + //todo - dynamically include apis + ishttps ? new HtmlWebpackPlugin({ filename: "quickstart.html", - template: "src/quickstart.html", + template: "src/quickstart-sql-only.html", + chunks: ["quickstart"], + }) : new HtmlWebpackPlugin({ + filename: "quickstart.html", + template: "src/quickstart-sql-only-http.html", chunks: ["quickstart"], }), new HtmlWebpackPlugin({