Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
services:
frontend:
build:
context: .
dockerfile: frontend/Dockerfile.dev
ports:
- "3000:3000"
environment:
CHOKIDAR_USEPOLLING: "true"
WATCHPACK_POLLING: "true"
volumes:
- ./frontend:/app
- frontend_node_modules:/app/node_modules

volumes:
frontend_node_modules:
5 changes: 3 additions & 2 deletions docs/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ Ensure that you have [Docker] installed on your computer before proceeding.
### Frontend

```bash
docker build -t visualizer-frontend -f frontend/Dockerfile .
docker run --rm -p 3000:3000 visualizer-frontend
docker compose up --build
# App at http://localhost:3000
```

Expand All @@ -36,6 +35,7 @@ proceeding.
First, build start the backend:

Go (Gin) on port 5000:

```bash
cd go-backend
go mod download
Expand All @@ -58,6 +58,7 @@ commits, view/compare metadata, and analyze changes.
## Frontend usage

From the home page:

1. Enter a repository:
- Remote: full Git URL (e.g., `https://github.com/gittuf/gittuf.git`)
- Local: absolute path to a local Git repo
Expand Down
Loading