From 35c8ea0d3c61b5a76f32d2edabb356e56658a3a2 Mon Sep 17 00:00:00 2001 From: Midgard Date: Thu, 26 Mar 2020 16:06:42 +0100 Subject: [PATCH] Improve instructions and change name --- README.md | 12 ++++-------- index.html | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3f078ca..3f6beb1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ -Start a mitmproxy with: -``` -mitmproxy -m "reverse:https://YOUR_MATTERMOST_DOMAIN" -H '/~a | ! ~a/Access-Control-Expose-Headers/*, Authorization, Content-Length, Token' -H '/~a | ! ~a/Access-Control-Allow-Origin/http://localhost:8000' -``` +To run in development mode, run `rundev.sh` in a shell. +This will start a web server, and mitmproxy to avoid CORS problems. +Dependencies for that: Bash, Python and [`mitmproxy`](https://mitmproxy.org/). -Run locally: -``` -cd /path/to/repo; python -m "http.serve" -``` +Then open http://localhost:8000/ in your browser. diff --git a/index.html b/index.html index 4d0e5a6..df9e0b6 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Bettermost + Feathermost