Operation and maintenance tools developed by Python+django--game system

Source: Internet
Author: User

This system, is to learn Python and Django, the first formal development of small projects, small tools, but it is, this system, need to optimize a lot of things, but now also use the OK. Years later, ready to take the newly absorbed technology, develop the formal service update system.

Here, thanks to the old boy Ops training organization, my Linux operations and Python DevOps development started here and are now ready to enroll in his MySQL DBA course. Thanks also to Liu Stashin, who has learned a lot from his published "Python Automated Operations: Technology and best Practices", and has joined the gadget.

Do not wordy, first tool map bar (in the self-test suit, not the online diagram)

650) this.width=650; "class=" Size-full wp-image-478 "src=" http://www.linuxyw.com/wp-content/uploads/2015/01/ Login.jpg "alt=" Landing Interface "width=" 540 "height=" 324 "style=" margin:0px;padding:0px;border:0px;width:auto;height:auto; "/ >

Login interface

This is the landing interface, not perfect, should add a verification code system

650) this.width=650; "class=" wp-image-475 "src=" Http://www.linuxyw.com/wp-content/uploads/2015/01/config.jpg "alt= "Configuration Management" width= "height=" 363 "style=" MARGIN:0PX;PADDING:0PX;BORDER:0PX;WIDTH:700PX;HEIGHT:363PX; "border=" 0 " Hspace= "0" vspace= "0" title= ""/>

Configuration Management

This is the relevant information for all related servers, project configuration management, main record IP, path, etc.

650) this.width=650; "class=" wp-image-476 "src=" http://www.linuxyw.com/wp-content/uploads/2015/01/front.jpg "alt=" Front-end Update "width=" "height=" 326 "style=" MARGIN:0PX;PADDING:0PX;BORDER:0PX;WIDTH:700PX;HEIGHT:326PX; "border=" 0 " Hspace= "0" vspace= "0" title= ""/>

Front-end Updates

This is the game suit front-end update page, here combined with SVN for the game static resources uploaded to the CDN, the code will be added to various judgments, such as whether the file name contains Chinese or a space, such as the forbidden name, the new upload of the file, and the file on the CDN has duplicate. After uploading the file, modify the front-end version number online, you can also view the version control file content, because the content of the front-end version of the file is not easy to open, it is not shown. Normal operation, point modification, or view, will open this file in the "Return information" field on the right side of the page.

650) this.width=650; "class=" wp-image-481 "src=" http://www.linuxyw.com/wp-content/uploads/2015/01/pro.jpg "alt=" Back-end Update "width=" "height=" "style=" margin:0px;padding:0px;border:0px;width:700px;height:350px; "border=" 0 " Hspace= "0" vspace= "0" title= ""/>

Back-end Updates

This is the Game backend update page, including updating the game back end of the program, control the back-end game process open, off, download the relevant log, modify the game clothing configuration file, compared to the pre-modification and modified configuration (highlighting differences, here is quoted in the Liu Tians book), perform the relevant SQL operation of the database, related information, are returned to the right of the page

650) this.width=650; "class=" wp-image-477 "src=" http://www.linuxyw.com/wp-content/uploads/2015/01/kf.jpg "alt=" Central Service Update "width=" "height=" 352 "style=" margin:0px;padding:0px;border:0px;width:700px;height:352px; "border=" 0 " Hspace= "0" vspace= "0" title= ""/>

Central Service Update

This is similar to the functionality of back-end updates, just a few more log downloads, you can download the game in various types and time period of the log

650) this.width=650; "class=" wp-image-480 "src=" http://www.linuxyw.com/wp-content/uploads/2015/01/per.jpg "alt=" Rights Management "Width=" "height=" 337 "style=" MARGIN:0PX;PADDING:0PX;BORDER:0PX;WIDTH:700PX;HEIGHT:337PX; "border=" 0 " Hspace= "0" vspace= "0" title= ""/>

Rights Management

This is the user Rights Management, now the permissions are not many, just divided into 5 categories. When the user logs in and the operation work, has what permission, displays what content, if only the hero makes the permission, only then displays the hero to make the related menu and the content, the code also does the authorization authentication, if does not have the permission the user, accesses other pages, will be rejected. This permission is verified when the user logs in, and exists in the session.

650) this.width=650; "class=" wp-image-479 "src=" Http://www.linuxyw.com/wp-content/uploads/2015/01/oper-log.jpg " alt= "platform operation Record" Width= "height=" 380 "style=" margin:0px;padding:0px;border:0px;width:700px;height:380px "border=" 0 "hspace=" 0 "vspace=" 0 "title=" "/>

Platform Operation Record

Platform operation Record, the user has done any important operation in the platform, will be recorded, can easily view daily operation

650) this.width=650; "class=" wp-image-482 "src=" Http://www.linuxyw.com/wp-content/uploads/2015/01/ver-log.jpg "alt = "Version update record" width= "height=" 340 "style=" margin:0px;padding:0px;border:0px;width:700px;height:340px; "border=" 0 " Hspace= "0" vspace= "0" title= ""/>

Version update record

This is a record of the updated version of the beta service, which records the actions of each version during the update cycle.

The rest is not, either roughly the same or not conveniently cut


This article from "Jiangjiang" blog, please be sure to keep this source http://drfdai.blog.51cto.com/3825228/1612640

Operation and maintenance tools developed by Python+django--game system

Related Article

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.