Environment Construction:
- Linux:ubuntu installation, I use the Linode VPS, can choose ubuntu14.04 lts created. Self-built server, self-installing.
- Linux: Install LNMP, download the latest installation package from the Http://lnmp.org/download.html page, refer to http://lnmp.org/install.html for installation. The reason for using the LNMP one-click installation package is because our focus is on building a workable linux-nginx,mysql-php environment, which is not as important for our update process as this part of the performance.
- Linux: Installing SVN Server, refer to Http://www.linuxidc.com/Linux/2015-01/111956.htm
- Mac: Install Xcode, refer to Http://jingyan.baidu.com/article/b87fe19eb309f0521835682f.html, try to install the latest version
- Mac:android environment configuration, reference http://www.cnblogs.com/jarrah/archive/2013/03/15/2961892.html,http://blog.csdn.net/ daydreamingboy/article/details/8252806, Package Tutorial: http://blog.csdn.net/s278777851/article/details/9053985
- Pending additions
Protocol, data structure development:
Website Domain name: http://version.mygame.com/
Client update url:http://version.mygame.com/check.php? channelid=%d&appver=%d&resver=%d
Channelid: Channel ID (appstore,adhoc,91-android,uc,360,==, ID number)
AppVer: App version
Resver: Resource Version
Returns: 1-no update required, 2-APP version update-update log, 3-resource update-update log
Download server: Web server
check.php resource download logic, download specific resources based on channel ID, app version, resource version
Directory structure
/gamename/channelid/lastest.zip
/gamename/channelid/appver/(1~now-1)-now.zip
File transfer via SCP
Post background: Create, view channels, compile apps, update app versions, package resources, update resource versions, version logs
Database: Channel information (Id,name,app version, resource version, push time, has been pushed?) )
"Original" I understand the Automatic Update-overview
"Original" I understand Automatic Updates-environment building and protocol development
"Original" I understand the Automatic update-extranet Web server configuration
"Original" I understand the Automatic Update-app release and background publishing
"Original" I understand the Automatic Update-resource packaging process
"Original" I understand the Automatic Update-client update process
"Original" I understand the automatic update-Knowledge point explanation
The server in this article uses the Linode,linode is what does not need to introduce too much.
Interested children's shoes can be registered via https://www.linode.com/?r=000161937771838e320f2bda5fef0dbad54ad86c server,
The number after r is my referral code, if you use the above recommendation code I recommend, and keep 3 months is an online account, then I will be three months after the credit of 20 dollars,
This means you can use the one-month minimum $19.95 Linode VPS.
Referrals reward you are refer people to Linode.
If someone signs up using your referral code,
You'll receive a credits of $20.00, so long as the person referred remains a active customer for.
"Original" I understand Automatic Updates-environment building and protocol development