Skip to content

Commit

Permalink
sample db
Browse files Browse the repository at this point in the history
  • Loading branch information
gautam-divyanshu committed Feb 6, 2025
1 parent 09e3b19 commit 378fd1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4
- name: Create .env file for talawa api testing environment
run: cp ./envFiles/.env.ci ./.env
- name: Build talawa api non production environment docker image
Expand All @@ -327,6 +327,6 @@ jobs:
- name: Import Sample Data
run: |
CONTAINER_ID=$(docker ps -q --filter "name=talawa-api-1")
docker exec -it $CONTAINER_ID /bin/bash -c "pnpm run import:sample-data"
docker exec $CONTAINER_ID /bin/bash -c "pnpm run import:sample-data"
- name: Stop Talawa API Container
run: docker compose down
2 changes: 0 additions & 2 deletions docs/docs/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,10 @@ devcontainer up --workspace-folder .
1. Once the server is running, open a new terminal session.
2. Open a bash session inside the running container:
```bash
docker exec -it talawa-api-1 /bin/bash
```
3. Inside the container, run the following command to import sample data into the database:

```bash
pnpm run import:sample-data
```
Expand Down

0 comments on commit 378fd1a

Please sign in to comment.