From c7f4708fe7a50804fc89488d150af7b691611328 Mon Sep 17 00:00:00 2001 From: jinhai Date: Wed, 15 May 2019 17:28:02 +0800 Subject: [PATCH] Update README.md and conf Former-commit-id: 014cd72b6c70e8924758236798ad4d0c12fa099e --- cpp/README.md | 16 +++++++++++++--- cpp/conf/server_config.yaml | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/cpp/README.md b/cpp/README.md index c870304e..f65e9738 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -32,19 +32,29 @@ cmake_build/src/libvecwise_engine.a is the static library ./build.sh --unittest -### Luanch server +### Launch server Set config in cpp/conf/server_config.yaml -Then luanch server with config: +Then launch server with config: cd [build output path] start_server.sh stop_server.sh -### Luanch test_client(only for debug) +### Launch test_client(only for debug) If you want to test remote api, you can build test_client. test_client use same config file with server: cd [build output path]/test_client test_client -c [sourcecode path]/cpp/conf/server_config.yaml +### License Generate +Use get_sys_info to get system info file. + + ./get_sys_info # system.info will be generated + +Use license_generator to generate license file. + + ./license_generator -s system.info -l system.license -b 2019-05-15 -e 2019-08-14 + +Copy the license file to path assigned by license_path in server config file. \ No newline at end of file diff --git a/cpp/conf/server_config.yaml b/cpp/conf/server_config.yaml index bb109d53..40d10d0a 100644 --- a/cpp/conf/server_config.yaml +++ b/cpp/conf/server_config.yaml @@ -11,7 +11,7 @@ db_config: idmapper_max_open_file: 128 license_config: - license_path: "/tmp/megasearch/abc.license" + license_path: "/home/jinhai/Documents/development/vecwise_engine/license/system.license" log_config: global: -- GitLab