Compare commits

...

4 Commits

Author SHA1 Message Date
KS Jannette
5cd5b38df0 add analytics tag 2026-05-12 23:23:17 -04:00
S Jannette
4667e612fd Merge pull request #45 from kjannette/update-README
m
2026-05-12 19:48:07 -04:00
KS Jannette
1d68ce40e7 m 2026-05-12 19:47:42 -04:00
S Jannette
ae256eea91 Merge pull request #44 from kjannette/auth-hack
m
2026-05-12 19:26:24 -04:00
2 changed files with 26 additions and 11 deletions

View File

@@ -31,3 +31,15 @@ Backend startup quickstart:
make poller — Builds and runs the poller. make poller — Builds and runs the poller.
make poller-dev — Runs the poller with auto-reload. make poller-dev — Runs the poller with auto-reload.
## Production: `make build` + restart service
On the server, from this directory:
- **`make build`** — writes fresh **`bin/api`** and **`bin/poller`** (see the Makefile).
- **`make build-api`** — API only; **`make build-poller`** — poller only.
Building alone does **not** reload a process that is already listening (e.g. on port 8080). After deploy:
1. Ensure **`systemctl`** (or your supervisor) **`ExecStart`** runs the binary you just built (e.g. **`.../backend/bin/api`**) or copy `bin/api` to that path.
2. **`sudo systemctl restart <your-api-service>`** (and the poller service if you rebuilt it).
3. Optional check: **`readlink -f /proc/<pid>/exe`** should show your **`bin/api`** path without **`(deleted)`** — if you see `(deleted)`, an old process is still running the previous binary from memory.

View File

@@ -1,14 +1,17 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Koin Ping - On-Chain Monitoring</title> <title>Koin Ping - On-Chain Monitoring</title>
<script data-goatcounter="https://koinping.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script type="module" src="/src/main.jsx"></script> <script type="module" src="/src/main.jsx"></script>
</body> </body>
</html>
</html>