hugegraph / hugegraph-studio

HugeGraph Database web UI
Apache License 2.0
42 stars 33 forks source link

建议增加windows下的启动脚本 #49

Open HerovNL opened 3 years ago

HerovNL commented 3 years ago

启动脚本(bin/hugegraph-studio.bat)样例:

@echo off
set LAST_PATH=%cd%
cd /d  %~dp0
cd ..
set LOG_CONF=%cd%\conf\log4j2.xml
set PROP_CONF=%cd%\conf\hugegraph-studio.properties
set LIB_DIR=%cd%\lib
cd %LAST_PATH%
@java -Dlog4j.configurationFile=%LOG_CONF% -Dstudio.home=%cd% -classpath "%LIB_DIR%\*" com.baidu.hugegraph.studio.HugeGraphStudio PROP_CONF
javeme commented 3 years ago

@HerovNL 感谢反馈,也欢迎贡献完善的Windows版本脚本。

HerovNL commented 3 years ago

调整了下避免运行完或者Ctrl+C终止后没回到原来目录

javeme commented 3 years ago

@HerovNL 感谢,欢迎直接提交待代码仓库中,贡献流程可参考:https://github.com/hugegraph/hugegraph/blob/master/CONTRIBUTING.md