Skip to content

Commit

Permalink
feat: setup eventcatalog README
Browse files Browse the repository at this point in the history
Signed-off-by: Brooks Townsend <[email protected]>
  • Loading branch information
brooksmtownsend committed Dec 13, 2023
1 parent 967c317 commit 5536af2
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 41 deletions.
2 changes: 2 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set shell := ["bash", "-cu"]

build:
# Ensure events are up-to-date
cd eventcatalog && npm run build
# Build all the actors using `wash build`
for dir in $(find . -type f -name 'Cargo.toml' | xargs -n1 dirname | rg -v node_modules); do \
echo "Building $dir"; \
Expand Down
24 changes: 23 additions & 1 deletion eventcatalog/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# My Event Catalog
# Bank Account Event Catalog

This is the event catalog for the bank account service. You can either run the event catalog locally or compile it into a Cosmonic component.

## Running the Event Catalog

```bash
npm install
npm run start
```

## Compiling Cosmonic Component

```bash
npm install
npm run build
cd actor
wash build
```

## All Events

![All Bank Account Events](./all_events.png)
39 changes: 0 additions & 39 deletions eventcatalog/actor/README.md

This file was deleted.

Binary file added eventcatalog/all_events.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion eventcatalog/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eventcatalog",
"version": "0.0.1",
"version": "0.3.0",
"private": true,
"scripts": {
"start": "eventcatalog start",
Expand Down

0 comments on commit 5536af2

Please sign in to comment.