Skip to content

Commit

Permalink
Typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbithell authored Aug 2, 2024
1 parent cce2eda commit 3bda0d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@
This project allows us to collect telemetry andd display analytics from our open-source applications, in order to better understand how our users are using our software and its reach and impact.

The project runs under the following privacy principles:
## Typegen

- Like the applications themselves, this application is fully open-source and the code is available for anyone to inspect and audit.
- We do not collect any personally identifiable information about users of our projects.
- Those self-hosting projects can opt-out of telemetry collection at any time.
Generate types for your Cloudflare bindings in `wrangler.toml`:


## This project
```sh
npm run typegen
```

This is a [Remix](https://remix.run) project, which is a framework for building server-rendered React applications. It runs on [Cloudflare Workers](https://workers.cloudflare.com/) with their D1 database, which allows us to run the application on the edge with minimal latency - essential for telemetry collection.
You will need to rerun typegen whenever you make changes to `wrangler.toml`.
Expand Down Expand Up @@ -43,3 +39,11 @@ First, build your app for production:
1. Create a new project on Cloudflare Pages
1. Make sure to disable fallback mode (open) in the Cloudflare Pages settings
1. Mount the D1 database in the project as "DB"


## Typegen
Generate types for your Cloudflare bindings in `wrangler.toml`:

```sh
npm run typegen
```
4 changes: 2 additions & 2 deletions app/routes/projects.adam-rms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ export default function Index() {
description: "Installations seen in the last 90 days",
},
{
title: "Total Instances",
title: "Total Business Instances",
icon: "coin",
value: data.totals.instances.toString(),
diff: null,
description:
"Total number instances across all installations seen in the last 90 days",
"Total number businesses (instances) created across all installations seen in the last 90 days",
},
{
title: "Total Users",
Expand Down

0 comments on commit 3bda0d8

Please sign in to comment.