All Projects → jpush → Jpush Docs

jpush / Jpush Docs

Licence: mit
JPush docs on official website. 极光推送官方文档。

Labels

Projects that are alternatives of or similar to Jpush Docs

Docpht
With DocPHT you can take notes and quickly document anything and without the use of any database.
Stars: ✭ 90 (-20.35%)
Mutual labels:  docs
Reference En
Editable source for the Arduino Reference
Stars: ✭ 97 (-14.16%)
Mutual labels:  docs
Pyspark Cheatsheet
🐍 Quick reference guide to common patterns & functions in PySpark.
Stars: ✭ 108 (-4.42%)
Mutual labels:  docs
Gatsby Documentation Starter
Automatically generate docs for React components using MDX, react-docgen, and GatsbyJS
Stars: ✭ 91 (-19.47%)
Mutual labels:  docs
Learn
👩‍🏫 Learn how to use RunwayML with tutorials, guides, and examples!
Stars: ✭ 95 (-15.93%)
Mutual labels:  docs
Nodejs Api Doc Cn
Node.js API 文档(中文版)
Stars: ✭ 98 (-13.27%)
Mutual labels:  docs
Paperclipfans
Hi~ 这里是 回形针 PaperClip 非官方的资料整理仓库,我们迫切的希望您的帮助整理,这将加速我们的网站维护每一期的文字稿及图片内容。
Stars: ✭ 85 (-24.78%)
Mutual labels:  docs
Goreadme
Generate readme file from Go doc. Now available with Github actions!
Stars: ✭ 113 (+0%)
Mutual labels:  docs
Live Doc
💫 Convert markdown to live React demos
Stars: ✭ 97 (-14.16%)
Mutual labels:  docs
Awesome Vrchat
One-stop shop for people interested in developing content for VRchat
Stars: ✭ 107 (-5.31%)
Mutual labels:  docs
Mpvue Docs
mpvue docs
Stars: ✭ 91 (-19.47%)
Mutual labels:  docs
Jyun Cms Doc
JYunCMS 用户手册
Stars: ✭ 94 (-16.81%)
Mutual labels:  docs
Kmeans pytorch
kmeans using PyTorch
Stars: ✭ 98 (-13.27%)
Mutual labels:  docs
Deepin Develop Guide
deepin develop guide(containing development environment configuration and debian package tutorial)
Stars: ✭ 90 (-20.35%)
Mutual labels:  docs
Ikea Tradfri Coap Docs
How can you communicate to your ikea tradfri gateway/hub through coap-client
Stars: ✭ 111 (-1.77%)
Mutual labels:  docs
Community
Modern Confluence alternative designed for internal & external docs, built with Golang + EmberJS
Stars: ✭ 1,286 (+1038.05%)
Mutual labels:  docs
Docs
Documentation minisite for Pop!_OS and related projects
Stars: ✭ 98 (-13.27%)
Mutual labels:  docs
Catalog
Create living style guides using Markdown or React
Stars: ✭ 1,527 (+1251.33%)
Mutual labels:  docs
Docs Cn
OpenTelemetry Markdown中文文档: 接入使用、技术标准、RFC、SDK等. 中文网站:https://ot.md
Stars: ✭ 109 (-3.54%)
Mutual labels:  docs
Docs
📖 The Nette documentation
Stars: ✭ 99 (-12.39%)
Mutual labels:  docs

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 布局与页面。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].