Giter VIP home page Giter VIP logo

Comments (7)

bahelit avatar bahelit commented on July 20, 2024

This is also what I'm seeing.

from gocryptotrader.

backnight avatar backnight commented on July 20, 2024

Hello guys,

Just tried the web interface too... and it's quite in a pre-alpha/not working state as far as I tested it (the web/ folder hasn't been updated for 5 months on this repository so I think the WebGUI is a dead end for now).

I tried to make it work via docker-compose:

  • Update the Dockerfile and add EXPOSE 9050 line at the end (it will expose the GoCryptoTrader webserver outside of the container).
  • In your config_example.dat, enable the webserver
  • Update the docker-compose.yml file and add to the the CLI service:
    ports: - "9050:9050"
  • Run docker-compose build to build the new images
  • Run docker-compose up to launch GoCryptoTrader and GoCryptoTrader web

To make it work a little bit more:

  • About the web container The bower packages are not installed by default. If you look at you browser Developer Tools > Network when you go at 'http://localhost:3333', you will see that all bower_components/ paths return a 404.
  • To install the bower packages into the web container:
    • docker exec -it web /bin/bash (launch a term into the web container)
    • ./node_modules/bower/bin/bower --allow-root install (install bower dependencies)

Now if you go on 'http://localhost:3333', you will see a loader ;)

That's all for now, didn't have the time to dig more onto this. Will continue tomorrow.

from gocryptotrader.

gloriousCode avatar gloriousCode commented on July 20, 2024

Hey guys, I'd recommend you follow the directions in the readme. I never really considered the docker part of the application during my front-end development. I just did a fresh install and followed the readme and got the interface working.

Unfortunately, docker is not in my skillset yet. Backnight, if you successfully get the docker version working, would happily accept the pull request on it!

I'm in the process of rewriting the front-end to be using Angular 4+ and Electron

from gocryptotrader.

backnight avatar backnight commented on July 20, 2024

I'm only using dockerized applications so I will update the Docker setup of this project when you will merge the new WebGUI you are building.

from gocryptotrader.

joeblew99 avatar joeblew99 commented on July 20, 2024

is this being worked on by anyone ?

I am building Web UI's with all golang and all grpc and a tiny bit of react. You
can get huge gains because its all in golang and websockets now work wth GRPC.
But i can also understand if this is too golang all the way..
edit: snipped URL

from gocryptotrader.

gloriousCode avatar gloriousCode commented on July 20, 2024

Thank you for your interest in this project. The front-end is still being worked on as per what was discussed higher in the thread. I'll be continuing with Angular+Electron

from gocryptotrader.

joeblew99 avatar joeblew99 commented on July 20, 2024

@gloriousCode if you change your mind let me know.

It seems the link i put it was deleted ?
here it is again:
https://github.com/johanbrandhorst/grpcweb-example

i have built a GUI's already using the project i referenced.

from gocryptotrader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.