Setting Up Development Environment for FE using IntelliJ IDEA
- Git
- JDK1.8+
- IntelliJ IDEA
- Maven (Optional, IDEA shipped embedded Maven3)
Use IntelliJ IDEA to open the code root directory
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 executablethrift
command to./thirdparty/installed/bin
.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.
Import
./fe
into IDEA
- Build project , and copy files from directory
ui/dist
into directorywebroot
( you can skip this step , if you don’t needDoris
UI )
Copy below content into and tune it to fit your environment.
Follow the picture to set runtime Environment Variables in IDEA
Having fun with Doris FE!