Setting Up Development Environment for FE using IntelliJ IDEA

    • Git
    • JDK1.8+
    • IntelliJ IDEA
    • Maven (Optional, IDEA shipped embedded Maven3)
    1. Use IntelliJ IDEA to open the code root directory

    2. If your are only interested in FE module, and for some reason you can’t or don’t want to compile full thirdparty libraries, the minimum tool required for FE module is , so you can manually install thrift and copy or create a link of the executable thrift command to ./thirdparty/installed/bin.

    3. Go to folder and run the following maven command to generate sources.

      If fails, run following command.

    If you are developing on the OS which lack of support to run shell script and make such as Windows, a workround here is generate codes in Linux and copy them back. Using Docker should also be an option.

    1. Import ./fe into IDEA

    1. Build project , and copy files from directory ui/dist into directory webroot ( you can skip this step , if you don’t need Doris UI )

    Copy below content into and tune it to fit your environment.

    Follow the picture to set runtime Environment Variables in IDEA

    Setting Up dev env for FE - IntelliJ IDEA - 图3

    Having fun with Doris FE!