Giter Site home page Giter Site logo

push's Introduction

push

php push demo for mac。

demo是用php实现的,实现了基本的推送功能。

先获取设备的deviceToken。

然后生成develop和product环境下相应的pem证书,如:apns_dev.pem,apns_pro.pem。

再在mac下开启apache服务,配置相应的php环境。

最后clone该demo。将clone下来的push文件夹,放置在系统web根目录,既:/Library/WebServer/Documents目录下。 将生成后的pem证书也覆盖到该目录下,替换原来的pem。

最后通过浏览器访问http://localhost/push/apns_form.php,填写相应的deviceToken,即可发布推送。

push's People

Contributors

mrboog avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.