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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

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)

How to check the name of the docker container How to check the name of the docker container Apr 15, 2025 pm 12:21 PM

You can query the Docker container name by following the steps: List all containers (docker ps). Filter the container list (using the grep command). Gets the container name (located in the "NAMES" column).

How to start containers by docker How to start containers by docker Apr 15, 2025 pm 12:27 PM

Docker container startup steps: Pull the container image: Run "docker pull [mirror name]". Create a container: Use "docker create [options] [mirror name] [commands and parameters]". Start the container: Execute "docker start [Container name or ID]". Check container status: Verify that the container is running with "docker ps".

How to create containers for docker How to create containers for docker Apr 15, 2025 pm 12:18 PM

Create a container in Docker: 1. Pull the image: docker pull [mirror name] 2. Create a container: docker run [Options] [mirror name] [Command] 3. Start the container: docker start [Container name]

Can vs code run in Windows 8 Can vs code run in Windows 8 Apr 15, 2025 pm 07:24 PM

VS Code can run on Windows 8, but the experience may not be great. First make sure the system has been updated to the latest patch, then download the VS Code installation package that matches the system architecture and install it as prompted. After installation, be aware that some extensions may be incompatible with Windows 8 and need to look for alternative extensions or use newer Windows systems in a virtual machine. Install the necessary extensions to check whether they work properly. Although VS Code is feasible on Windows 8, it is recommended to upgrade to a newer Windows system for a better development experience and security.

vscode cannot install extension vscode cannot install extension Apr 15, 2025 pm 07:18 PM

The reasons for the installation of VS Code extensions may be: network instability, insufficient permissions, system compatibility issues, VS Code version is too old, antivirus software or firewall interference. By checking network connections, permissions, log files, updating VS Code, disabling security software, and restarting VS Code or computers, you can gradually troubleshoot and resolve issues.

How to run sublime after writing the code How to run sublime after writing the code Apr 16, 2025 am 08:51 AM

There are six ways to run code in Sublime: through hotkeys, menus, build systems, command lines, set default build systems, and custom build commands, and run individual files/projects by right-clicking on projects/files. The build system availability depends on the installation of Sublime Text.

How to install mirror offline in docker How to install mirror offline in docker Apr 15, 2025 am 11:36 AM

Installing Docker images offline requires the following steps: 1. Obtain the mirror TAR file; 2. Export the mirror file; 3. Transfer the mirror file; 4. Import the mirror file; 5. Verify the mirror installation.

How to solve complex BelongsToThrough relationship problem in Laravel? Use Composer! How to solve complex BelongsToThrough relationship problem in Laravel? Use Composer! Apr 17, 2025 pm 09:54 PM

In Laravel development, dealing with complex model relationships has always been a challenge, especially when it comes to multi-level BelongsToThrough relationships. Recently, I encountered this problem in a project dealing with a multi-level model relationship, where traditional HasManyThrough relationships fail to meet the needs, resulting in data queries becoming complex and inefficient. After some exploration, I found the library staudenmeir/belongs-to-through, which easily installed and solved my troubles through Composer.

See all articles