Skip to content

Commit 33dffac

Browse files
committed
docs
1 parent 0f20d5b commit 33dffac

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

docs/docs/docs/developer-resources/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ CloudBeaver is a lightweight web application designed for comprehensive data man
185185
6. You should now see the `PostgreSql@postgres-test` connection in the list of available connections. Click on the connection to open the database.
186186
7. Navigate to `PostgreSql@postgres-test > Databases > talawa > Schemas > public > Tables` to view the available tables.
187187

188-
## Resetting Database
188+
## Resetting Database (Interactive)
189189

190190
**NOTE:** This applies only to Talawa API developers.
191191

docs/docs/docs/getting-started/installation.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -393,22 +393,10 @@ This applies to users running Talawa API in dev containers.
393393

394394
1. Once the server is running, open a new terminal session.
395395

396-
2. Open a bash session inside the running container:
397-
398-
```bash
399-
docker exec -it talawa-api-1 /bin/bash
400-
```
401-
402-
3. Inside the container, run the following command to import sample data into the database:
403-
404-
```bash
405-
pnpm run add:sample_data
406-
```
407-
408-
4. Then exit
396+
2. Run the following command to import sample data into the database:
409397

410398
```bash
411-
exit
399+
docker exec talawa-api-1 /bin/bash -c 'pnpm run add:sample_data && exit'
412400
```
413401

414402
Refer to the next section for login information.

0 commit comments

Comments
 (0)