-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readme Cleaned #1
Merged
+18
−44
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,25 @@ | ||
# Project Name | ||
|
||
(short, 1-3 sentenced, description of the project) | ||
|
||
## Features | ||
|
||
This project framework provides the following features: | ||
|
||
* Feature 1 | ||
* Feature 2 | ||
* ... | ||
|
||
## Getting Started | ||
|
||
### Prerequisites | ||
|
||
(ideally very short, if any) | ||
|
||
- OS | ||
- Library version | ||
- ... | ||
# Webapp with a cosmos Db | ||
|
||
A sample webapp deployed on app service with cosmos db as backend. It counts the number of visitors visiting the page and inserts the same to a sample collection on cosmos db. | ||
|
||
### Installation | ||
|
||
(ideally very short) | ||
|
||
- npm install [package name] | ||
- mvn install | ||
- ... | ||
|
||
### Quickstart | ||
(Add steps to get up and running quickly) | ||
|
||
1. git clone [repository clone url] | ||
2. cd [respository name] | ||
3. ... | ||
|
||
1. In your terminal window, log into Azure and set the susbscription to the one that is allowlisted to use the load test service private preview: | ||
|
||
## Demo | ||
az login | ||
az account set -s mySubscriptionName | ||
|
||
A demo app is included to show how to use the project. | ||
2. Clone the sample application's source repository. The sample application is a Node.js app consisting of an Azure App Service web component and a Cosmos DB database. The also repo contains a PowerShell script that deploys the sample app to your Azure subscription, and a JMeter script that we'll use in subsequent steps. | ||
|
||
To run the demo, follow these steps: | ||
git clone https://github.com/Azure-Samples/nodejs-appsvc-cosmosdb-bottleneck.git | ||
|
||
(Add steps to start up the demo) | ||
3. Deploy the sample app using the PowerShell script. (Tip: macOS users can install PowerShell [here](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-7.1)) | ||
|
||
1. | ||
2. | ||
3. | ||
cd SampleApp | ||
.\deploymentscript.ps1 | ||
|
||
## Resources | ||
4. You will be prompted to supply a unique application name and a location (default is `eastus`). | ||
|
||
(Any additional resources or related projects) | ||
5. Once deployment is complete, browse to the running sample application with your browser. | ||
|
||
- Link to supporting information | ||
- Link to similar sample | ||
- ... | ||
https://<app_name>.azurewebsites.net |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WebApp with a Cosmos DB
with cosmos db as database
into a sample collection in Cosmos DB