Browse Source

no message

heavyrain.lee 6 years ago
parent
commit
25a1d8db15
2 changed files with 20 additions and 5 deletions
  1. 15 0
      LICENSE
  2. 5 5
      README.md

+ 15 - 0
LICENSE

@@ -19,3 +19,18 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
+
+1. ikidou/TypeBuilder
+Copyright 2016 ikidou
+
+Licensed 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.

+ 5 - 5
README.md

@@ -7,18 +7,18 @@ mvn package
 ```
 
 #### 修改配置
-本演示服务有5个配置文件,分别是```application.properties```, ```apns.properties```, ```meizu.properties```, ```hms.properties```和```xiaomi.properties``` 。
+本演示服务有5个配置文件在工程的```config```目录下,分别是```application.properties```, ```apns.properties```, ```meizu.properties```, ```hms.properties```和```xiaomi.properties``` 。
 分别配置服务的端口和相关推送的配置。
-请直接在工程的resource目录下修改打包进工程。或者放到jar包所在的目录下的```config```目录下。
+请正确配置放到jar包所在的目录下的```config```目录下。
 
 #### 运行
+在```target```目录找到```push-XXXX.jar```,把jar包和放置配置文件的```config```目录放到一起,然后执行下面命令:
 ```
-nohup java -jar push-XXXXX.jar > push.log 2>&1 &
+java -jar push-XXXXX.jar
 ```
 
-#### 鸣谢
+#### 使用到的开源代码
 1. [TypeBuilder](https://github.com/ikidou/TypeBuilder) 一个用于生成泛型的简易Builder
 
 #### LICENSE
 UNDER MIT LICENSE. 详情见LICENSE文件
-