Apple Push Notification for Herald iOS client
同时负责iOS客户端APIList.plist更新
sudo su
apt-get install python-dev redis-server
pip install Flask
pip install redis
easy_install apns
# redis config
host = 'localhost'
port = 6379
db = 0
password = 'heraldstudio'
# PE URL
PE_URL = "http://115.28.27.150/api/pc?uuid=dbd7bb9dca167f98d0741f7067a1b7c715fe1b8c" # 跑操预告接口URL
# APN config
expiry = 3600 # APN超时时间
priority = 10 # APN优先级,默认
api_version = 3.4 # APIList版本号
chmod +x start.sh stop.sh
./start.sh
./stop.sh