From c292169b840f0ee533513f40b1f7524fc8c2fb60 Mon Sep 17 00:00:00 2001 From: liangyongrui Date: Fri, 22 Nov 2019 16:52:21 +0800 Subject: [PATCH] . --- .gitignore | 16 ++++++++-------- docs/en-us/wip.md | 3 +++ docs/zh-cn/quick_start.md | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 8 deletions(-) create mode 100644 docs/en-us/wip.md create mode 100644 docs/zh-cn/quick_start.md diff --git a/.gitignore b/.gitignore index 1069e03..ebd95a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ -node_modules -en-us -zh-cn -md_json -404.html -index.html -build -package-lock.json \ No newline at end of file +/node_modules +/en-us +/zh-cn +/md_json +/404.html +/index.html +/build +/package-lock.json \ No newline at end of file diff --git a/docs/en-us/wip.md b/docs/en-us/wip.md new file mode 100644 index 0000000..fd617fd --- /dev/null +++ b/docs/en-us/wip.md @@ -0,0 +1,3 @@ +# WIP + +wip diff --git a/docs/zh-cn/quick_start.md b/docs/zh-cn/quick_start.md new file mode 100644 index 0000000..d21ac96 --- /dev/null +++ b/docs/zh-cn/quick_start.md @@ -0,0 +1,35 @@ + + +# 快速启动 + +1. 下载完整代码 + + ```shell + git clone https://github.com/XiaoMi/thain.git + ``` + +1. 运行环境需要 jdk 8 以上, maven3, node 8 以上 + +1. 在项目根目录下依次执行 + + ```shell + cd thain-fe + npm install + npm run build + cd .. + mvn -U clean package + ``` + +1. 打包完成后,即可运行 + + ```shell + java -jar thain-server/target/thain-server-1.1.5.jar + ``` + +1. 打开 localhost:9900 就可以看到效果了 + +1. 初始账号密码:admin, admin