forked from microfeed/microfeed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request microfeed#93 from jcary741/main
Add variable validation and document local dev requirements
- Loading branch information
Showing
2 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
· | ||
<a href="mailto:[email protected]"><b>Email Us Privately</b></a> | ||
</p> | ||
|
||
Welcome to microfeed, a lightweight content management system (CMS) self-hosted on Cloudflare. | ||
With microfeed, you can easily publish a variety of content such as audios, videos, photos, documents, blog posts, | ||
and external URLs to a feed in the form of web, RSS, and JSON. It's the perfect solution for tech-savvy individuals who | ||
|
@@ -178,7 +178,7 @@ Select "Admin Read & Write" permission and create an API token: | |
|
||
<img width="858" alt="Screenshot 2023-08-08 at 4 33 55 PM" src="https://github.com/microfeed/microfeed/assets/1719237/1a90df29-5660-49d4-b66a-24873812492d"> | ||
|
||
|
||
Copy Access Key ID for R2_ACCESS_KEY_ID, and Secret Access Key for R2_SECRET_ACCESS_KEY | ||
<img width="728" alt="Screenshot 2022-12-04 at 4 45 35 PM" src="https://user-images.githubusercontent.com/1719237/205526582-92f440ac-21c4-46d9-a065-cfc1937391c8.png"> | ||
|
||
|
@@ -330,7 +330,7 @@ You can use the command line tool `wrangler` to find sqlite database files and d | |
|
||
<b>How to download media files from R2?</b> | ||
|
||
As of Feb 16, 2023, Cloudflare has not provided tools to to batch download all files from a R2 bucket. | ||
As of Feb 16, 2023, Cloudflare has not provided tools to to batch download all files from a R2 bucket. | ||
|
||
You may need to write a script to use [S3-compatible APIs](https://developers.cloudflare.com/r2/data-access/s3-api/api/) to fetch all objects from a specific R2 bucket. | ||
|
||
|
@@ -345,6 +345,8 @@ If you'd like to submit a fix or new feature, please create a pull request with | |
|
||
### Run microfeed on local | ||
|
||
Pre-requisites: node / npm, yarn, and wrangler | ||
|
||
First, create a .vars.toml file in microfeed's root directory (same level as this README.md file) and put 5 secrets in the .vars.toml file (Similar to [Step 2. Put some secrets on your forked repo](#step-2-put-some-secrets-on-your-forked-repo)): | ||
```toml | ||
# .vars.toml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters