phylotastic / phylotastic-portal

Web tool (ruby on rails) providing access to phylotastic services for acquiring species trees.
https://github.com/phylotastic/phylotastic/wiki
1 stars 3 forks source link

implement scaling methods in production portal #325

Closed arlin closed 5 years ago

arlin commented 5 years ago

Push the scaling functionality from the dev portal to the production portal.

Hide SDM until #320 is fixed.

Note that there are two other changes to scaling that need to be fixed in the development branch: #324 (fix median scaling method) and #299 (scale bar fixes)

ducvan0212 commented 5 years ago

The portal uses WebSocket (ActionCable in Rails) to asynchronously update the interface when a scaling process is finished (basically, update the waiting circle to clickable radio box). Unfortunately, ActionCable is currently not supported on Apache + Passenger (https://www.phusionpassenger.com/library/config/apache/action_cable_integration/). I need to stop Apache to try 2 approaches:

For now, I don't have permissions to stop all Apache processes because @abusalehmdtayeen needs Apache to run his services.

Otherwise, the production portal will still works, but user has to reload the tree viewer (refresh the page) to view scaling options.

arlin commented 5 years ago

I'm closing this. good job, @ducvan0212 and @abusalehmdtayeen