Server deployment and first-time project deployment issues

Source: Internet
Author: User

  From Monday to Wednesday, three days from the initial completion of the project to the deployment to the server and continuously debug and optimize.

In Monday, our projects were basically completed locally, using rails ' basic operations (add-and-revise) with simple HTML and CSS knowledge to complete the project. The main problem here is that the knowledge of HTML and CSS is not enough, for the HTML and CSS application in Rails code, this project mainly uses the HTML div tag properties, CSS style use.

Tuesday, complete locally and start deploying on the server. The following steps are mainly deployed on the server: 1. First of all, we have servers and domain names, the server's IP address and domain name (see dnspod Tutorial). 2. We need to deploy the code to the server, and we are using the code that git clone has uploaded to GitHub to implement the code to deploy to the server. 3. Run the code on the server.

Wednesday, the code began to run on the server, we encountered the problem of mobile phone-side adaptation, we use the HTML adaptive to achieve this problem, mainly using the following code

<meta name= "viewport" content= "Width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, User-scalable=no "/>, to complete the adaptation of the screen problem, the PC has basically completed the adaptation, mobile phone side still have some problems, these we have to further adapt.

These are my three days to solve the problem, writing is not very comprehensive, because now I am a rookie, not very understanding of the problems in the why do so, it can not be very thorough to understand. Want to know people can give me advice, also hope that my these things can be helpful to others, thank you!

ps:21.22.23

Server deployment and first-time project deployment issues

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.