Skip to content

Commit e7a134d

Browse files
authored
doc: update README.md
closes #2
1 parent 2716d5e commit e7a134d

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

README.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -227,42 +227,6 @@ npm run dev
227227

228228
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
229229

230-
231-
### Using Docker (optional)
232-
233-
1. Build an image for the Next.js app:
234-
235-
```
236-
docker build -t llama-index-vector-search-javascript .
237-
```
238-
239-
2. Generate embeddings:
240-
241-
Parse the data and generate the vector embeddings if the `./data` folder exists - otherwise, skip this step:
242-
243-
```
244-
docker run \
245-
--rm \
246-
-v $(pwd)/.env:/app/.env \ # Use ENV variables and configuration from your file-system
247-
-v $(pwd)/config:/app/config \
248-
-v $(pwd)/data:/app/data \
249-
-v $(pwd)/cache:/app/cache \ # Use your file system to store the vector database
250-
llama-index-vector-search-javascript \
251-
npm run generate
252-
```
253-
254-
3. Start the app:
255-
256-
```
257-
docker run \
258-
--rm \
259-
-v $(pwd)/.env:/app/.env \ # Use ENV variables and configuration from your file-system
260-
-v $(pwd)/config:/app/config \
261-
-v $(pwd)/cache:/app/cache \ # Use your file system to store gea vector database
262-
-p 3000:3000 \
263-
llama-index-vector-search-javascript
264-
```
265-
266230
## Using the app
267231

268232
- In Azure: navigate to the Azure app deployed by `azd`. The URL is printed out when `azd` completes (as "Endpoint"), or you can find it in the Azure portal.

0 commit comments

Comments
 (0)