This is an automated email from the ASF dual-hosted git repository.
gosonzhang pushed a commit to branch TUBEMQ-336
in repository https://gitbox.apache.org/repos/asf/incubator-tubemq.git
The following commit(s) were added to refs/heads/TUBEMQ-336 by this push:
new 343f2cc [TUBEMQ-425] add readme to setup manager cluster (#324)
343f2cc is described below
commit 343f2cccde0b7cab0c0a537f5efce99e33053110
Author: Yuanbo Liu <[email protected]>
AuthorDate: Tue Nov 24 15:00:52 2020 +0800
[TUBEMQ-425] add readme to setup manager cluster (#324)
---
tubemq-manager/READMe.md | 51 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/tubemq-manager/READMe.md b/tubemq-manager/READMe.md
new file mode 100644
index 0000000..29f5fdc
--- /dev/null
+++ b/tubemq-manager/READMe.md
@@ -0,0 +1,51 @@
+License
+=======
+
+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.
+
+# introduction
+tubemq-manager is used to manage multiple tubemq cluster. It works with
tubemq-web project.
+tubemq-manager provide restful api and tubemq-web use them to provide
front-end web pages.
+This page is going to introduce how to set up tubemq-manager environment.
+
+
+# build
+```shell script
+mvn clean package
+```
+
+
+# distribution
+env requirements:
+ 1. mysql
+ 2. java(1.8+)
+
+In the dist directory, you can find a installable file called
`tubemq-manager-bin.zip`. Unzip it
+and add mysql address configuration in `conf/application.properties`
+
+```properties
+spring.jpa.hibernate.ddl-auto=update
+# configuration for manager
+spring.datasource.url=jdbc:mysql://x.x.x.x:3306/tubemanager
+spring.datasource.username=xx
+spring.datasource.password=xxx
+```
+Then setup mysql database called `tubemanager`, start this project by this
command
+```shell script
+bin/start-manager.sh
+```