This is an automated email from the ASF dual-hosted git repository.
dope pushed a commit to branch fix_doc_error
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/fix_doc_error by this push:
new 3c7f9b6 add client build script
3c7f9b6 is described below
commit 3c7f9b6499f20b37ba45d2a499648cbc5fef308c
Author: XuYi <[email protected]>
AuthorDate: Wed Mar 20 15:37:30 2019 +0800
add client build script
---
Readme.md | 6 +++++-
clean.sh | 36 ++++++++++++++++++++++++++++++++++++
docs/Documentation/QuickStart.md | 11 ++++++-----
3 files changed, 47 insertions(+), 6 deletions(-)
diff --git a/Readme.md b/Readme.md
index cbfaf55..5546b7e 100644
--- a/Readme.md
+++ b/Readme.md
@@ -185,7 +185,11 @@ The server can be stopped with ctrl-C or the following
script:
Now let's trying to read and write some data from IoTDB using our Client. To
start the client, you need to explicit the server's IP and PORT as well as the
USER_NAME and PASSWORD.
```
-cd cli/cli
+# You can first build cli project
+> pwd
+/workspace/incubator-iotdb
+
+> mvn clean package -pl iotdb-cli -am -Dmaven.test.skip=true
# Unix/OS X
> $IOTDB_CLI_HOME/bin/start-client.sh -h <IP> -p <PORT> -u <USER_NAME>
diff --git a/clean.sh b/clean.sh
new file mode 100644
index 0000000..0483bdc
--- /dev/null
+++ b/clean.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+git checkout checkstyle.xml
+git checkout java-google-style.xml
+git checkout example/**/pom.xml
+git checkout grafana/pom.xml
+git checkout hadoop/pom.xml
+git checkout example/pom.xml
+git checkout jdbc/pom.xml
+git checkout service-rpc/pom.xml
+git checkout spark/pom.xml
+git checkout tsfile/pom.xml
+git checkout iotdb-cli/pom.xml
+git checkout iotdb/pom.xml
+git checkout pom.xml
+git checkout iotdb-cli/src/test/resources/logback.xml
+git checkout iotdb/iotdb/conf/logback.xml
+git checkout iotdb/src/test/resources/logback.xml
+git checkout tsfile/src/test/resources/logback.xml
diff --git a/docs/Documentation/QuickStart.md b/docs/Documentation/QuickStart.md
index 08f8743..7c173dd 100755
--- a/docs/Documentation/QuickStart.md
+++ b/docs/Documentation/QuickStart.md
@@ -43,16 +43,11 @@ To use IoTDB, you need to have:
1. Java >= 1.8 (Please make sure the environment path has been set)
2. Maven >= 3.0 (If you want to compile and install IoTDB from source code)
-3. TsFile >= 0.7.0 (TsFile Github page:
[https://github.com/apache/incubator-iotdb/tree/master/tsfile](https://github.com/apache/incubator-iotdb/tree/master/tsfile))
-4. IoTDB-JDBC >= 0.7.0 (IoTDB-JDBC Github page:
[https://github.com/apache/incubator-iotdb/tree/master/jdbc](https://github.com/apache/incubator-iotdb/tree/master/jdbc))
-
-TODO: TsFile and IoTDB-JDBC dependencies will be removed after the project
reconstruct.
## Installation
IoTDB provides you two installation methods, you can refer to the following
suggestions, choose one of them:
-
* Installation from source code. If you need to modify the code yourself, you
can use this method.
* Installation from binary files. Download the binary files from the official
website. This is the recommended method, in which you will get a binary
released package which is out-of-the-box.(Comming Soon...)
@@ -173,6 +168,12 @@ After that we start the server. Running the startup script:
Now let's trying to read and write some data from IoTDB using our Client. To
start the client, you need to explicit the server's IP and PORT as well as the
USER_NAME and PASSWORD.
```
+# You can first build cli project
+> pwd
+/workspace/incubator-iotdb
+
+> mvn clean package -pl iotdb-cli -am -Dmaven.test.skip=true
+
# Unix/OS X
> $IOTDB_CLI_HOME/bin/start-client.sh -h <IP> -p <PORT> -u <USER_NAME>