jshare-qqmodel

Android JShare QQ Model

License

License

GroupId

GroupId

cn.jiguang.sdk
ArtifactId

ArtifactId

jshare-qqmodel
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

jshare-qqmodel
Android JShare QQ Model
Project URL

Project URL

https://github.com/jpush/jpush-docs.git
Source Code Management

Source Code Management

https://github.com/jpush/jpush-docs

Download jshare-qqmodel

How to add to project

<!-- https://jarcasting.com/artifacts/cn.jiguang.sdk/jshare-qqmodel/ -->
<dependency>
    <groupId>cn.jiguang.sdk</groupId>
    <artifactId>jshare-qqmodel</artifactId>
    <version>2.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/cn.jiguang.sdk/jshare-qqmodel/
implementation 'cn.jiguang.sdk:jshare-qqmodel:2.0.0'
// https://jarcasting.com/artifacts/cn.jiguang.sdk/jshare-qqmodel/
implementation ("cn.jiguang.sdk:jshare-qqmodel:2.0.0")
'cn.jiguang.sdk:jshare-qqmodel:aar:2.0.0'
<dependency org="cn.jiguang.sdk" name="jshare-qqmodel" rev="2.0.0">
  <artifact name="jshare-qqmodel" type="aar" />
</dependency>
@Grapes(
@Grab(group='cn.jiguang.sdk', module='jshare-qqmodel', version='2.0.0')
)
libraryDependencies += "cn.jiguang.sdk" % "jshare-qqmodel" % "2.0.0"
[cn.jiguang.sdk/jshare-qqmodel "2.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

JPush Docs

Get Started

  1. 安装 Python(Python 2.7 和 Python 3 都可以,推荐 Python 3)

  2. 安装 MKDocs

$ pip install mkdocs
  1. clone 代码到本地

  2. 同步 README(Windows 用户需在 Git 命令行环境下执行)

$ bash ./hooks/synreadme.sh
  1. 运行 MKDocs 测试服务器
$ mkdocs serve
  1. 使用浏览器访问:
http://127.0.0.1:8000/

Github Webhook

  1. 安装 Python 3

  2. 创建并激活虚拟环境 venv

$ python -m venv venv
$ . ./venv/bin/activate
  1. 安装依赖
$ pip install -r requirements.txt
  1. 复制配置文件
$ cp hooks/hooksrc.sample hooks/hooksrc
$ cp hooks/uwsgi.ini.sample hooks/uwsgi.ini
  1. 同步 README
$ bash ./hooks/synreadme.sh
  1. 使用服务器
  • 使用 Flask 自带服务器
$ python hooks/webhooks.py
  • 使用 uWSGI 作为服务器 ([]表示可选命令行参数)

需要把 uWSGI 的配置文件 hooks/uwsgi.ini 中的一行配置项 socket = 127.0.0.1:8080 改成 http-socket = 127.0.0.1:8080

$ uwsgi -i hooks/uwsgi.ini [ &>> uwsgi.log [&]]
  • 使用 Nginx 管理 uWSGI

需要保留 uWSGI 的配置文件 hooks/uwsgi.ini 中的 socket = 127.0.0.1:8080 配置项

  1. 使用浏览器访问(Flask 服务器和 uWSGI 服务器):
http://127.0.0.1:8080

返回 Hello World 则说明 github webhook 配置部署成功。

Contributing

  1. 同步 JPush 上游仓库的更新到自己的远端仓库
  2. 更新文档
  3. 提交文档到自己远端仓库
  4. Pull Request 到 JPush 上游仓库的 master 分支

MKDocs

本文档基于 Markdown 编写,使用 MKDocs 工具生成 HTML 布局与页面。

cn.jiguang.sdk

极光开发者

JiGuang's official open source endpoint. 极光开发者服务官方开源站。包括:极光推送(JPush)、极光IM(JMessage)、极光短信(JSMS)、极光统计(JAnalytics)等相关开源项目。

Versions

Version
2.0.0