Skip to content

Commit

Permalink
chore(docs): update content-watcher docs
Browse files Browse the repository at this point in the history
Update Content-Watcher-Service Documentation structure
and content.

Update Content-Publisher Docs running test.
  • Loading branch information
enddynayn committed Oct 22, 2024
1 parent 2d16be3 commit 8809bb2
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 297 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,12 @@ start-graph-worker: update-packages
.PHONY: setup-account
setup-account:
@cd apps/account-api/test/setup && npm install && npm run main


.PHONY: test-content-watcher-services-start
test-content-watcher-services-start:
@scripts/content-watcher/local-setup.sh -n cw-e2e -i

.PHONY: test-content-watcher-services-stop
test-content-watcher-services-stop:
@scripts/content-watcher/local-setup.sh -n cw-e2e -d
11 changes: 7 additions & 4 deletions developer-docs/content-publishing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Ensure you have the following installed:

3. Set up environment variables:
```bash
cp env-files/content-publishing.template.env .env
cp env-files/content-publishing.template.env .env.content-publishing
```
Configure the environment variables according to your needs.

Expand Down Expand Up @@ -110,8 +110,6 @@ Ensure you have the following installed:

### Verification

### Verification

#### Docker Setup
- Access Swagger UI: [http://localhost:3012/docs/swagger](http://localhost:3012/docs/swagger)
- View and manage queues: [http://localhost:3012/queues](http://localhost:3012/queues)
Expand All @@ -128,11 +126,16 @@ Ensure you have the following installed:

### Testing

Run the test suite:
Run the test:
```bash
npm test:content-publising
```

Run E2E tests:
```bash
npm run test:e2e:content-publishing
```

### Linting and Formatting

Run linter:
Expand Down
Loading

0 comments on commit 8809bb2

Please sign in to comment.