ExchangeUnion / xud-docker

Streamlined setup of xud and all dependencies via docker 🐳
https://docs.exchangeunion.com
GNU Affero General Public License v3.0
5 stars 5 forks source link

feat: add console api #794

Closed reliveyy closed 3 years ago

reliveyy commented 3 years ago

This PR bump proxy frontend to feat/console branch and backend to console branch to present the console view + api. And it also makes proxy container enabled by default.

How to test?

bash xud.sh -b console

N.B. Use mkcert to trust your self-signed certificate

mkcert -install
mkcert localhost 127.0.0.1 ::1 -cert-file tls.crt -key-file tls.key
# copy it to your simnet proxy
sudo mkdir -p ~/.xud-docker/simnet/data/proxy
sudo cp tls.* ~/.xud-docker/simnet/data/proxy

EDIT by @kilrau : closes https://github.com/ExchangeUnion/xud-docker/issues/745 EDIT by @kilrau : closes https://github.com/ExchangeUnion/xud-ui/issues/29

kilrau commented 3 years ago

Missing so far: bind proxy port to localhost

raladev commented 3 years ago
kilrau commented 3 years ago

would be good to not clean console after page changing and returning back

Need to preserve the state of the console somewhere in the react component.

krrprr commented 3 years ago

Before merging, the branch names of xud-docker-api and xud-ui-dashboard should be changed back to master and main, accordingly.

I currently do not see any other things to be changed in this repository. All the above mentioned issues have to be resolved either on the api or ui-dashboard side.