You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dolphinscheduler.apache.org by qiao zhanwei <qi...@outlook.com> on 2019/12/24 07:45:11 UTC

回复: A proposal for frontend and backend dist tar are no longer separated in binary packages

great,Use jetty to launch UI by default


―――――――――――――
DolphinScheduler(Incubator)  PPMC
Zhanwei Qiao 乔占卫

qiaozhanwei@outlook.com

发件人: 李 岗<ma...@outlook.com>
发送时间: 2019-12-12 11:21
收件人: dev<ma...@dolphinscheduler.apache.org>
主题: A proposal for frontend and backend dist tar are no longer separated in binary packages

Purpose of no longer separation:

Now if you choose the deployment of jetty,you need do something

1.Enter the source package dolphinscheduler-ui directory and execute `npm run build:combined`
2.Create the ui directory under the backend binary package directory

3.Copy all files in the dolphinscheduler-ui/dist directory to the backend binary package ui directory

I think this needs to be optimized,So I hope to simplify the deployment of jetty,Such as follwing:

        souce deploy
                After executing `mvn clean install -Prelease`,You need only execute `sh install.sh`.

        binaray tar deploy

                After executing `sh install.sh`,We want direct access to the UI,You need not to do anything of frontend,
                only need visit the following url, interface address (modify it yourself) http://192.168.xx.xx:12345/dolphinscheduler/ui/index.html.

Solution of above:

       Because the frontend dist and backend dist were packaged separately before,
       Now need change it,the binaray pacakge will be one tar,and include the front-end and back-end.

This is my idea,I also want to hear your suggestions.Thanks.
________________________________
DolphinScheduler(Incubator) PPMC
Gang Li 李岗

lgcareer2019@outlook.com<ma...@outlook.com>

Re: ������: A proposal for frontend and backend dist tar are no longer separated in binary packages

Posted by LidongDai <li...@apache.org>.
very good, We should continue to reduce third-party dependence

------
Lidong Dai

On 2019/12/24 07:45:11, qiao zhanwei <qi...@outlook.com> wrote: 
> great,Use jetty to launch UI by default
> 
> 
> ―――――――――――――
> DolphinScheduler(Incubator)  PPMC
> Zhanwei Qiao 乔占卫
> 
> qiaozhanwei@outlook.com
> 
> 发件人: 李 岗<ma...@outlook.com>
> 发送时间: 2019-12-12 11:21
> 收件人: dev<ma...@dolphinscheduler.apache.org>
> 主题: A proposal for frontend and backend dist tar are no longer separated in binary packages
> 
> Purpose of no longer separation:
> 
> Now if you choose the deployment of jetty,you need do something
> 
> 1.Enter the source package dolphinscheduler-ui directory and execute `npm run build:combined`
> 2.Create the ui directory under the backend binary package directory
> 
> 3.Copy all files in the dolphinscheduler-ui/dist directory to the backend binary package ui directory
> 
> I think this needs to be optimized,So I hope to simplify the deployment of jetty,Such as follwing:
> 
>         souce deploy
>                 After executing `mvn clean install -Prelease`,You need only execute `sh install.sh`.
> 
>         binaray tar deploy
> 
>                 After executing `sh install.sh`,We want direct access to the UI,You need not to do anything of frontend,
>                 only need visit the following url, interface address (modify it yourself) http://192.168.xx.xx:12345/dolphinscheduler/ui/index.html.
> 
> Solution of above:
> 
>        Because the frontend dist and backend dist were packaged separately before,
>        Now need change it,the binaray pacakge will be one tar,and include the front-end and back-end.
> 
> This is my idea,I also want to hear your suggestions.Thanks.
> ________________________________
> DolphinScheduler(Incubator) PPMC
> Gang Li 李岗
> 
> lgcareer2019@outlook.com<ma...@outlook.com>
>