"Original" I understand Automatic Updates-environment building and protocol development

Source: Internet
Author: User
Tags vps

Environment Construction:

    1. Linux:ubuntu installation, I use the Linode VPS, can choose ubuntu14.04 lts created. Self-built server, self-installing.
    2. 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.
    3. Linux: Installing SVN Server, refer to Http://www.linuxidc.com/Linux/2015-01/111956.htm
    4. Mac: Install Xcode, refer to Http://jingyan.baidu.com/article/b87fe19eb309f0521835682f.html, try to install the latest version
    5. 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
    6. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.