From 2c8bf13cf49433864b599e4bd408f3cc838ab4bf Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 29 Nov 2020 19:49:30 +0100 Subject: [PATCH] Update readme to include link to CORS documentation --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 44fbf30e..671ed4a9 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,10 @@ Freqtrade UI build with [Vue.js](https://vuejs.org/) and [boostrap-vue](https:// This project is still in it's early stages (consider it early-alpha), and is not yet stable nor recommended to be used for production usages. -It will require Freqtrade to be running on the same host with the API enabled under (`localhost:8081`). This port can be changed in `vue.config.js`. +It will require [freqtrade](https://github.com/freqtrade/freqtrade) to be running on the same host with the API enabled under (`localhost:8081`). You can either use the webpack proxy (port can be changed in `vue.config.js`) - or connect directly to the API (recommended). +FOr this, you will also have to have CORS configured correctly [freqtrade documentation](https://www.freqtrade.io/en/latest/rest-api/#cors). +Most likely, the correct entry will be `http://localhost:8080` or `http://127.0.0.1:8080` - but the URL must match the url you use to access FreqUI. +Ports can vary, so check the url you're using. ## Project setup with node install locally @@ -47,6 +50,7 @@ docker-compose up -d ### Customize configuration + See [Configuration Reference](https://cli.vuejs.org/config/). ## Project setup for docker (developing inside dev container) without vscode