peatio icon indicating copy to clipboard operation
peatio copied to clipboard

Seperated trading UI

Open tzman89 opened this issue 8 years ago • 10 comments

Hi, How trading ui is deployed in development? Is it automaticly included in peatio if we docker deploy it ?

tzman89 avatar Mar 20 '18 15:03 tzman89

yeah i need to know to

endofthepain avatar Mar 20 '18 16:03 endofthepain

Hi @tzman89 @endofthepain

Please, check https://github.com/rubykube/peatio/blob/master/docs/releases/1.5.0.md#breaking-changes for more details about trading UI. You will find all links there. Reply here if you have questions. In dev you should setup NGINX with conf from ci/nginx/server.conf and run Peatio at peatio.local (don't forget to configure URL_HOST at config/application.yml). As for trading UI: run it on port 4000 and put PLATFORM_ROOT_URL to http://peatio.local. That's should work.

yivo avatar Mar 20 '18 17:03 yivo

Hello @yivo we must use only docker on development mode also? after docker pull where i can find them downloaded path? And i want to customize the peatio-trading-ui with new What is the solution?

top1st avatar Mar 21 '18 10:03 top1st

@top1st You are free to choose. I personally don't use Docker for dev.

yivo avatar Mar 21 '18 10:03 yivo

Oh great. I downloaded the peatio-trading-ui but i don't know how to add it to current peatio installed And you said you used rails 5.1 for trading ui. What is the solution that i can use them without docker and at once as development mode?

top1st avatar Mar 21 '18 10:03 top1st

@tzman89 Please read my comments above.

yivo avatar Mar 21 '18 10:03 yivo

hello @yivo should i change rabbitmq channel_key from satoshi to btc?

top1st avatar Mar 21 '18 11:03 top1st

@yivo thanks for the comment

I figure it out, I didnt see that peatio-trading-ui is acting as seperate app and needs to be started with rails server.I just installed screen to run both seperatly and fixed nginx and it works.

Sorry for stupid questions I'm learning ruby, 2 months ago I didn't even know that ruby exist

tzman89 avatar Mar 21 '18 12:03 tzman89

@top1st I think you need to change it to account_id: https://github.com/rubykube/peatio/blob/master/app/models/payment_address.rb#L14

@tzman89 No problem. If your issue is resolved please close the ticket.

yivo avatar Mar 21 '18 14:03 yivo

Could someone please share their NGINX config changes they made for the trading ui to show up. I am trying to deploy it on AWS

not-a-dev0 avatar Dec 27 '18 06:12 not-a-dev0