Home Backend Development PHP Tutorial Use nginx to build a server with axure demonstration prototype in a windows environment

Use nginx to build a server with axure demonstration prototype in a windows environment

Aug 08, 2016 am 09:30 AM
axure nginx windows

1. As a product manager, using Axure to prototype is one of the basic skills, but every time you have to copy the prototype file, view it locally, it looks like a web page on your mobile phone, etc., these are too low. Then I sorted out the knowledge I had learned before, and decided to set up a small server on my computer, and then axure outputs it to the server every time, so that users in the local area network can easily view it. At the same time, axure also supports the output of mobile phone formats, and The effect is very realistic. It’s really a great tool for showing off. At the same time, a small server is built to have some documents of its own, which can be easily opened and read during meetings.

2. Regarding small servers, let me add a few words. In ordinary small companies with dozens of people, it is actually very convenient to use Windows shared folders, but considering some Mac users, it is not so good. use. Therefore, in the current environment where MAC is very popular, when win and MAC each account for half of the market, it is better to use the cloud or the cloud, and it must be convenient. Speaking of this, we talk about what tools to use for project management, progress management, etc. I will write another article about how I do it myself.

3. First, let’s build a small server. I chose nginx from Russia because it is really simple and easy to use. This product is an open source server software, which is mostly used for load balancing, and it is excellent. When I was an intern at Xiaoguizi, I used this to set up a streaming media server, and it was very capable. Now that I am using it for sharing, it is considered overkill.

1. Download nginx first. I am in a win8.1 environment, so I just download the installation package http://nginx.org/ and unzip it


2. Then go to the configuration file nginx.conf in the conf folder

and modify the configuration as follows

<span style="white-space:pre">	</span>location /upload {  //这里放置我的文件
    	    autoindex on;  //这三句是自动显示文件目录,不然进去就欢迎页了
            autoindex_exact_size on;  
            autoindex_localtime on;  
            alias   d://upload; //在D盘建一个专门放文件的文件夹吧
	     
	}//更多的关于配置文件,网上搜一搜很多的,我自己也会整理,这里就不写了
Copy after login
Also note that the server installed by nginx, I don’t have a good way to solve the Chinese name URL yet. , so please name the file in English

3. After these configurations are completed, double-click nginx.exe to start. Here I strongly recommend that you set it to start at boot, don’t say you don’t know how to set it up at boot

run C:ProgramDataMicrosoftWindowsStart MenuProgramsStartup and then drag the shortcut of nginx.exe in, so that nginx will be started as soon as the computer is turned on. Of course, you can also choose to leave the phone off for a long time, which is what I did anyway.

4, ThisThis is the result you see. 4. Okay, the small server is set up. You can also put some of your files here to share with others in the future. It is very convenient. Then we should set up axure to display on the mobile phone. There are many tutorials in this area on the Internet. In fact, many of them are unclear and confusing, or require configuring a very complex environment. I have written a tutorial before, but it was not well written, so I have rewritten it here.

5. Just make some prototype, and then use the familiar F8

Note that my output path is the path of nginx, and then set without sitmap, that is, without the left navigation bar. Then select Mobile Devices. Set the parameters


and then it is generated.

6. Then use your mobile phone to access this path page, ip/upload/test/index.html

Then make the following settings

Choose to add a desktop. Rename to test.

7. At this time, this will appear on your desktop


Did you see it? A shortcut to test appears.

8. The last step is to click in


Okay, even if it doesn’t look like a native application, you can deceive programmers.

PS: This method is only applicable to IOS devices, and to perfectly match the screen, the size of the graphic boundary needs to be set. In other words, a prototype can only fit one size of screen. But for prototyping tools, it's enough. At the same time, I am also thinking about whether I can use an adaptive front-end framework such as bootstrip to prototype the app, so that it can be adaptive. It seems that the next goal has emerged, which is to make an adaptive prototype. If anyone is interested, you can contact me to play together.

The above introduces the use of nginx to build a server with axure demonstration prototype in a windows environment, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

WordPress site file access is restricted: Why is my .txt file not accessible through domain name? WordPress site file access is restricted: Why is my .txt file not accessible through domain name? Apr 01, 2025 pm 03:00 PM

Wordpress site file access is restricted: troubleshooting the reason why .txt file cannot be accessed recently. Some users encountered a problem when configuring the mini program business domain name: �...

How to make PHP5.6 and PHP7 coexist through Nginx configuration on the same server? How to make PHP5.6 and PHP7 coexist through Nginx configuration on the same server? Apr 01, 2025 pm 03:15 PM

Running multiple PHP versions simultaneously in the same system is a common requirement, especially when different projects depend on different versions of PHP. How to be on the same...

How to efficiently integrate Node.js or Python services under LAMP architecture? How to efficiently integrate Node.js or Python services under LAMP architecture? Apr 01, 2025 pm 02:48 PM

Many website developers face the problem of integrating Node.js or Python services under the LAMP architecture: the existing LAMP (Linux Apache MySQL PHP) architecture website needs...

What is the reason for redirecting 404 errors after logging in with Selenium? How to solve it? What is the reason for redirecting 404 errors after logging in with Selenium? How to solve it? Apr 01, 2025 pm 10:54 PM

Solution to Redirecting 404 Errors after Simulation Login When using Selenium for Simulation Login, we often encounter some difficult problems. �...

How to share the same page on the PC and mobile side and handle cache issues? How to share the same page on the PC and mobile side and handle cache issues? Apr 01, 2025 pm 01:57 PM

How to share the same page on the PC and mobile side and handle cache issues? In the nginx php mysql environment built using the Baota background, how to make the PC side and...

How to monitor system performance through Debian logs How to monitor system performance through Debian logs Apr 02, 2025 am 08:00 AM

Mastering Debian system log monitoring is the key to efficient operation and maintenance. It can help you understand the system's operating conditions in a timely manner, quickly locate faults, and optimize system performance. This article will introduce several commonly used monitoring methods and tools. Monitoring system resources with the sysstat toolkit The sysstat toolkit provides a series of powerful command line tools for collecting, analyzing and reporting various system resource metrics, including CPU load, memory usage, disk I/O, network throughput, etc. The main tools include: sar: a comprehensive system resource statistics tool, covering CPU, memory, disk, network, etc. iostat: disk and CPU statistics. mpstat: Statistics of multi-core CPUs. pidsta

How to avoid third-party interfaces returning 403 errors in Node environment? How to avoid third-party interfaces returning 403 errors in Node environment? Apr 01, 2025 pm 02:03 PM

How to avoid the third-party interface returning 403 error in the Node environment. When calling the third-party website interface using Node.js, you sometimes encounter the problem of returning 403 error. �...

How to efficiently start multiple services in Dockerfile? How to efficiently start multiple services in Dockerfile? Apr 01, 2025 pm 02:15 PM

About efficient use of CMD commands in Dockerfile Many new Docker users are using CMD...

See all articles