Coder Social home page Coder Social logo

pomelo-pushserver-demo's Introduction

#基于Pomelo 的推送演示demo#

##在线演示## http://goo.gl/R4kKL

##说明文章## http://blog.gfdsa.net/2013/06/17/pomelo_study_appserver/

##测试用账号## 用户名: demo

密码: demo

客户端连接使用 apiKey

注意!!! 忽然发现了一个异地多客户端登陆导致 账号用户列表的问题.....最终导致用户都为null....所以,暂时如果demo 账号不能用请自己注册一个...过会修复它

界面就不要吐槽了..ps: 直接点击apikey 可以跳转到web client 看推送效果

android 客户端在 /androidApp/Pomelo-push-demo 支持gradle 构建

gradle buildbuild/apk 目录就可以直接使用apk 安装到手机

需要注意

如果,编译过程出现,编码错误,需要手动设置jdk的编码环境,在环境变量里面加上

name: JAVA_TOOL_OPTIONS

value: -Dfile.encoding=UTF-8

##服务端## windows 环境你需要安装:

  • vs 2010 express
  • node x86(注意千万不能使用x64)
  • python 2.x

运行步骤:

  1. 运行npm-install,安装运行需要的module
  2. 进入game-server 目录运行 pomelo start
  3. 进入web-server 目录运行 node app

如果在安装 pomelo 过程中出现各种错误,请自行google.

##支持本项目## 如果你愿意支持一下本项目,没有什么比捐点线实在了...

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.