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