From 766e9d2c58f9fdcc332a7692cd80f69155a9f17e Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Sun, 8 Oct 2023 15:49:05 -0400 Subject: [PATCH] Added some readme notes --- README.md | 7 +++++++ api/activitypub/outbox.ts | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6515c098e..4e44afab5 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,10 @@ This project (excluding post content itself) is released under the Apache Licens ** VERCEL_PROJECT_ID ** VERCEL_TOKEN (mask this and make it availible to only protected) ** VERCEL_SCOPE (set to vercel team id, find with `vercel team ls` after creating) +* Set vercel environment variables (vercel.com > project > Settings > Environment Variables) (set on production only usually) +** POLL_MILLISECONDS (set to 250000 or higher) +** ACTIVITYPUB_PRIVATE_KEY (get this value from generating the keys in the pervious step) +** ACTIVITYPUB_PUBLIC_KEY (get this value from generating the keys in the pervious step) +** FIREBASE_PRIVATE_KEY +** FIREBASE_CLIENT_EMAIL +** NEXT_PUBLIC_FIREBASE_PROJECT_ID diff --git a/api/activitypub/outbox.ts b/api/activitypub/outbox.ts index cc07a6571..f12ab1dc4 100644 --- a/api/activitypub/outbox.ts +++ b/api/activitypub/outbox.ts @@ -4,7 +4,7 @@ import { cwd } from 'process'; import { readFileSync } from 'fs'; /* - This returns a list of posts for the single user 'FLEAR'. + This returns a list of posts for the single user. It's a GET request. This doesn't post it to anyone's timeline. */ -- GitLab