Skip to content

Commit

Permalink
feat: add telemetry
Browse files Browse the repository at this point in the history
fixes #28
  • Loading branch information
SgtPooki committed Jan 24, 2023
1 parent 83979b0 commit ca5ecfa
Show file tree
Hide file tree
Showing 6 changed files with 2,568 additions and 1 deletion.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ docker build -t ipfs-check .
docker run -d ipfs-check
```

## Running locally

### Terminal 1
```
go build
./ipfs-check # Note listening port.. output should say something like "listening on [::]:3333"
```

### Terminal 2
```
# feel free to use any other tool to serve the contents of the /web folder, but you must run `npm run build` first.
(cd web && npm run build) && npx -y serve -l 3000 web
# Then open http://localhost:3000?backendUrl=http://localhost:3333
```

## License

[SPDX-License-Identifier: Apache-2.0 OR MIT](LICENSE.md)
2 changes: 2 additions & 0 deletions web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist
node_modules
3 changes: 2 additions & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
<meta charset="UTF-8">
<title>IPFS Check</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="tachyons.min.css"/>
<link rel="stylesheet" href="/tachyons.min.css"/>
<link rel="canonical" href="https://ipfs-check.on.fleek.co/">
<script type="text/javascript" src="/dist/telemetry.js" ></script>
</head>
<body class="sans-serif ma0">
<header>
Expand Down
Loading

0 comments on commit ca5ecfa

Please sign in to comment.