Skip to content

Commit 7f0e72a

Browse files
authored
Merge pull request #18428 from iwonahahn/master
Automatic commit: Move 'cp-apm-nodejs-create-service' from QA to Prod…
2 parents 2030772 + ee1cfd3 commit 7f0e72a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
Loading

tutorials/cp-apm-nodejs-create-service/cp-apm-nodejs-create-service.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ With your installed CDS command line tool, you can now create a new CAP-based pr
138138
139139
2. Open Visual Studio Code, go to **File** **→** **Open** and choose the **`my-bookshop`** folder.
140140
141-
3. Go to **View** **→** **Command Palette** **→** **Terminal: Create New Integrated Terminal** to open a command line window within Visual Studio Code and run the following command in the root level of your project:
141+
3. Go to **View** **→** **Command Palette** **→** **Terminal: Create New Terminal** to open a command line window within Visual Studio Code and run the following command in the root level of your project:
142142
143143
```Shell/Bash
144144
npm install
@@ -219,12 +219,13 @@ After initializing the project, you should see the following empty folders:
219219
```Shell/Bash
220220
[cds] - connect using bindings from: { registry: '~/.cds-services.json' }
221221
[cds] - connect to db > sqlite { database: ':memory:' }
222+
> init from ./db/csv/my.bookshop-Authors.csv
222223
/> successfully deployed to sqlite in-memory db
223224
224-
[cds] - serving CatalogService { at: '/catalog' }
225+
[cds] - serving CatalogService { at: '/catalog', impl: './srv/cat-service.js' }
225226
226227
[cds] - server listening on { url: 'http://localhost:4004' }
227-
[cds] - launched at 03/03/2022, 15:47:28, in: 952.896ms
228+
[cds] - launched at 18/05/2022, 19:49:32, in: 874.456ms
228229
[cds] - [ terminate with ^C ]
229230
```
230231
> This means, `cds watch` detected the changes in `srv/cat-service.cds` and automatically bootstrapped an in-memory SQLite database when restarting the server process.
@@ -366,13 +367,13 @@ In Visual Studio Code you will add plain CSV files in folder `db/csv` to fill yo
366367
```Shell/Bash
367368
[cds] - connect using bindings from: { registry: '~/.cds-services.json' }
368369
[cds] - connect to db > sqlite { database: ':memory:' }
369-
> filling my.bookshop.Books from ./db/csv/my.bookshop-Books.csv
370+
> init from ./db/csv/my.bookshop-Books.csv
370371
/> successfully deployed to sqlite in-memory db
371372
372373
[cds] - serving CatalogService { at: '/catalog', impl: './srv/cat-service.js' }
373374
374375
[cds] - server listening on { url: 'http://localhost:4004' }
375-
[cds] - launched at 03/03/2022, 15:51:30, in: 756.665ms
376+
[cds] - launched at 18/05/2022, 19:49:47, in: 861.036ms
376377
[cds] - [ terminate with ^C ]
377378
```
378379
@@ -442,7 +443,7 @@ Instead of using in-memory, you can also use persistent databases.
442443
[cds] - serving CatalogService { at: '/catalog', impl: './srv/cat-service.js' }
443444
444445
[cds] - server listening on { url: 'http://localhost:4004' }
445-
[cds] - launched at 03/03/2022, 15:53:43, in: 767.816ms
446+
[cds] - launched at 18/05/2022, 19:54:53, in: 830.398ms
446447
[cds] - [ terminate with ^C ]
447448
```
448449

0 commit comments

Comments
 (0)