add readme

Former-commit-id: a08fe24787b77155840941394c8a93612994d39f
pull/191/head
groot 2019-04-14 20:29:20 +08:00
commit 2a9d718362
4 changed files with 16 additions and 13 deletions

3
cpp/LICENSE.txt Normal file
View File

@ -0,0 +1,3 @@
Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited.
Proprietary and confidential.

View File

@ -1,27 +1,24 @@
# vecwise_engine_server
### Build and Install
Firstly download zdb_server to under same parent folder with zdb_build
git clone git@192.168.1.105:jinhai/vecwise_engine.git
Install necessery tools
### Compilation
#### Step 1: install necessery tools
centos7 : yum install gfortran
ubunut : sudo apt-install install gfortran
Build third-parties
#### Step 2: build third-parties
cd [sourcecode path]/cpp/thid_party
./build.sh
Then run build.sh scripts under cpp folder:
#### Step 3: build(output to cmake_build folder)
cmake_build/src/vecwise_engine_server is the server
cmake_build/src/libvecwise_engine.a is the static library
cd [sourcecode path]/cpp
./build.sh -t Debug
./build.sh -t Release
To run unittest:
#### To build unittest:
./build.sh -u
or
@ -30,5 +27,8 @@ To run unittest:
### Luanch server
Set config in cpp/conf/server_config.yaml
Then luanch server with config:
vecwise_engine_server -c [sourcecode path]/cpp/conf/server_config.yaml
vecwise_engine_server -c [sourcecode path]/cpp/conf/server_config.yaml

0
cpp/RELEASE.md Normal file
View File

View File

@ -14,7 +14,7 @@ set(vecwise_engine_src
${cache_files}
)
add_library(vecwise_engine SHARED ${vecwise_engine_src})
add_library(vecwise_engine STATIC ${vecwise_engine_src})
add_executable(vecwise_engine_server
${config_files}