Skip to content

Commit c616711

Browse files
committed
1 parent 66d4fae commit c616711

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
# Java IDE
66
.idea
7-
.vscode
87
*.iml
98

109
# Byte-compiled / optimized / DLL files

.vscode/tasks.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Start App ",
6+
"type": "shell",
7+
"command": "${workspaceFolder}/app/start.sh",
8+
"windows": {
9+
"command": "pwsh ${workspaceFolder}/app/start.ps1"
10+
},
11+
"presentation": {
12+
"reveal": "always"
13+
},
14+
"options": {
15+
"cwd": "${workspaceFolder}/app"
16+
},
17+
"problemMatcher": []
18+
}
19+
]
20+
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ either by deleting the resource group in the Portal or running `azd down`.
7272
Execute the following command, if you don't have any pre-existing Azure services and want to start from a fresh deployment.
7373

7474
1. Run `azd auth login`
75+
3. You can clone this repo and change directory to the root of the repo. Or you can run `azd init -t Azure-Samples/azure-search-openai-demo-java`.
7576
2. Run `azd up` - This will provision Azure resources and deploy this sample to those resources, including building the search index based on the files found in the `./data` folder.
7677
* For the target location, the regions that currently support the models used in this sample are **East US**, **France Central**, **South Central US**, **UK South**, and **West Europe**. For an up-to-date list of regions and models, check [here](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/concepts/models)
7778
3. After the application has been successfully deployed you will see a URL printed to the console. Click that URL to interact with the application in your browser.
@@ -128,7 +129,7 @@ If you've changed the infrastructure files (`infra` folder or `azure.yaml`), the
128129

129130
### Running locally
130131

131-
1. Run `azd login`
132+
1. Run `az login`
132133
2. Change dir to `app`
133134
3. Run `./start.ps1` or `./start.sh` or run the "VS Code Task: Start App" to start the project locally.
134135
4. Wait for the spring boot server to start and refresh your browser to localhost:8080

0 commit comments

Comments
 (0)