Update readme to include link to CORS documentation

This commit is contained in:
Matthias 2020-11-29 19:49:30 +01:00
parent 55d95e652b
commit 2c8bf13cf4

View File

@ -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. 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 ## Project setup with node install locally
@ -47,6 +50,7 @@ docker-compose up -d
### Customize configuration ### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/). See [Configuration Reference](https://cli.vuejs.org/config/).
## Project setup for docker (developing inside dev container) without vscode ## Project setup for docker (developing inside dev container) without vscode