From 7bcd1e44d3f78a4120be295f6a31b57917cee563 Mon Sep 17 00:00:00 2001 From: s-ol Date: Wed, 12 Jan 2022 10:19:47 +0100 Subject: add instructions and commands for local CORS proxy --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index c3fbe46..54d8839 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,15 @@ fedidag/client Fedidag is a wip DAG-based discussion platform and client for the Fediverse. This repository contains the front-end and a sample data. + +# Running locally (development) +To load Mastodon threads, a CORS proxy is needed. You can run it like this: + + $ yarn cors + +Then the dev server can be started: + + $ yarn start + +# Running using docker +The `Dockerfile` sets up NGINX with its own CORS proxy at `/remote/...`. -- cgit v1.2.3