: This article mainly introduces how to use nginx to build a server in a windows environment and use axure to demonstrate the prototype. For more information about PHP tutorials, see. 1. as a product manager, using axure as a prototype is one of the basic skills. However, each time you copy the prototype file, you can check the prototype locally and the mobile phone looks like a webpage, these are too LOW. Then, I sorted out my previous knowledge and decided to build a small server on my computer, and then axure output it to the server every time, so that users in the Lan can conveniently view it, axure also supports output of mobile phone format, and the effect is very realistic. It is really the best tool for installation. At the same time, what documents do you have to build a small server, which can be easily opened and read during the meeting.
2. for a small server, I can insert a few words. In fact, it is very convenient to use windows shared folders among dozens of small companies, however, some mac users are not that easy to use. Therefore, in the current environment where MAC is widely used, when Windows and MAC account for half of each other, the cloud can be used, and it is convenient. Let's talk about the topic of tools used for project management and schedule management. I will write another article about how I did it in another day.
3. let's build a small server first. I chose nginx from Russia because it is really simple and easy to use. this product is an open-source server software and is mostly used in server load balancer, and it was amazing. I used to build a streaming media server during my internship with Tom. Now I am using it for sharing.
1. download nginx first. I am in the win8.1 environment, so I can download the installation package http://nginx.org/and decompress it.
2. go to the configuration file nginx. conf in the conf folder.
Modify the configuration as follows:
Location/upload {// Put my file autoindex on here; // these three sentences are automatically displayed in the file directory; otherwise, the autoindex_exact_size on; autoindex_localtime on; alias d is displayed on the welcome page: // upload; // create a folder for storing files on drive D.} // For more information about configuration files, I can search a lot on the internet and I will also sort it out, I will not write it hereNote that the nginx server solves the problem of Chinese name URLs, so please name the files in English.
3. After configuring these parameters, double-click nginx.exe to start. here, we strongly recommend that you set it to boot, not to mention that you will not set it to boot.
Run C: \ ProgramData \ Microsoft \ Windows \ Start Menu \ Programs \ Startup then drag the nginx.exe shortcut, so that nginx will be enabled when the machine is started. Of course, you can choose not to shut down for a long time. I did this anyway.
4. this is the result.
4. well, the small server is ready. you can also share some of your files with others in the future. this is very convenient. we should set axure to be displayed on the mobile phone. There are a lot of tutorials on the internet. In fact, many of them are unclear and messy, or they need to configure a complex environment. I have also written a tutorial before, but it is not easy to write. it has been rewritten here.
5. create any prototype, and then we are familiar with F8.
Note that my output path is the nginx path, and then set without sitmap, that is, do not use the left navigation bar. Then select the mobile device. Set parameters
Then, it is generated.
6. access the path page with your mobile phone. ip/upload/test/index.html
Then, make the following settings:
Select add desktop. Rename it to test.
7. this will happen on your desktop at this time.
If no, a shortcut is displayed for test.
8. click in the last step.
Well, it seems like a native application, you can cheat the program.
PS: This method is only applicable to IOS devices. to perfectly configure the screen, you need to set the size value for the graphic boundary. that is to say, a prototype can only adapt to a screen of one size. But it is enough for the prototype tool. At the same time, I am also wondering if I can use an adaptive front-end framework such as bootstrip to prototype the app. in this way, I can adapt to the app. it seems that the next target has appeared and I am going to build an adaptive prototype. If you are interested, contact me.
The above describes how to use nginx to build a server in a windows environment and use axure to demonstrate the prototype, including some content. I hope to help my friends who are interested in PHP tutorials.