Doris Docker quick build development environment
- Developing mirror compilation using Docker (opens new window)
- VSCode Be Development Debugging (opens new window)
- VSCode
- Remote plugin
VSCode replace all by using Ctrl-d
- <!!! your user !!!>
- <!!! your user password !!!>
- <!!! root password !!!>
- <!!! your git email !!!>
- <!!! your git username !!!>
run build command
run image
note!
if you are developing on windows, mounting may cause cross-filesystem access problems, please consider setting it manually
if you installed zsh, replace plugins in ~/.zshrc after running the container
create directory and download doris
su <your user>
mkdir code && cd code
Note:
sh build.sh --clean --be --fe --ui
it is because build-env-for-0.15.0 version image upgraded thrift(0.9 -> 0.13), so you need to use —clean command to force use new version of thrift to generate code files, otherwise it will cause incompatibilities.
compile Doris
manually create meta_dir
metadata storage location, default value is ${DORIS_HOME}/doris-meta
launch FE
cd output/fe
sh bin/start_fe.sh --daemon
mysql-client connect
mysql -h 127.0.0.1 -P 9030 -u root