Skip to content

Commit 87dad0b

Browse files
committed
Update README.
1 parent e9e8955 commit 87dad0b

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**[https://whereroulette.com](https://whereroulette.com)**
44

5-
<!-- ![Screenshot](app/src/assets/screenshot.png) -->
5+
![Screenshot](app/src/assets/logo.png)
66

77
WhereRoulette is a web application designed to randomly select a [point of interest](https://wiki.openstreetmap.org/wiki/Points_of_interest) (POI) within a specified area. This tool solves the problem of choosing a place to go when you need somewhere to meet with friends, but the specific location isn't that important.
88

@@ -76,13 +76,24 @@ The site is hosted using [GitHub Pages](https://pages.github.com/). A GitHub act
7676

7777
The site gets deployed to [https://whereroulette.com](https://whereroulette.com).
7878

79+
### Analytics
7980

80-
## Analytics
81+
The site uses [Umami](https://umami.is/) for privacy-focused analytics.
8182

82-
The site uses [Umami](https://umami.is/) for privacy-focused analytics. This requires the script `src/assets/analytics.js` to be included in the distributed bundle.
83+
An instance is hosted on [fly.io](https://fly.io). The configuration is defined in the [analytics](https://github.com/01100100/analytics) repository.
84+
85+
A DNS record is set up such that the `stats.whereroulette.com` subdomain points to the Umami instance.
86+
87+
The analytics script is available at [https://stats.whereroulette.com/script.js](https://stats.whereroulette.com/script.js), which is downloaded and stored in this repository in `src/assets/analytics.js`.
88+
89+
Webpack is configured to include the analytics script in the build and it is used in the `index.html` file.
8390

8491
To update the script, run the following command:
8592

8693
```bash
87-
curl https://umani.fly.dev/script.js -o src/assets/analytics.js
94+
curl https://stats.whereroulette.com/script.js -o src/assets/analytics.js
8895
```
96+
97+
## Shoutouts
98+
99+
Thanks to Casper Ashdown ([github.com/surelybassy](https://github.com/surelybassy)) for creating a amazing logo!

0 commit comments

Comments
 (0)