Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Jan 23, 2019
1 parent 7d26712 commit 25a1d8d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions LICENSE
Expand Up @@ -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.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -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文件

0 comments on commit 25a1d8d

Please sign in to comment.