Skip to content

建议增加两个windows环境下的脚本方便调试 #1269

@HerovNL

Description

@HerovNL

(1)初始化数据库(bin/init_store.bat):

@echo off
set LAST_PATH=%cd%
cd /d  %~dp0
cd ..
set LIB_DIR=%cd%\lib
cd %LAST_PATH%
@java -classpath "%LIB_DIR%\*" com.baidu.hugegraph.cmd.InitStore %*

(2)启动hugegraph_server(bin/start_hugegraph.bat):

@echo off
set LAST_PATH=%cd%
cd /d  %~dp0
cd ..
set LOG_CONF=%cd%\conf\log4j2.xml
set LIB_DIR=%cd%\lib
rem cd %LAST_PATH%
@java "-Dlog4j.configurationFile=%LOG_CONF%" -classpath "%LIB_DIR%\*" com.baidu.hugegraph.dist.HugeGraphServer %*

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions