F. I .s build a local environment

Source: Internet
Author: User

I. Prepare the development environment:

1. Install JRE

2. It is better to install the node. js MSI file, which is easier.

3. (For PHP projects) install PHP. First download PHP (my version is 5.5.15, win7 64-bit System) zip, and then configure as follows:

A. decompress the ZIP file to a simple and clear path, for example, D:/PHP

B. Put php5ts. dll in the decompressed file in the System32 folder.

C. Modify PHP. ini-production to PhP. ini.

D. Modify the php. ini file

On Windows: The following

; Extension_dir is extension_dir "D:/PHP/EXT"

; Session. save_path = "/tmp" is session. save_path = "D:/PHP/session_temp"

E. Right-click computer-> properties-> advanced system settings on the left-> environment variables under the Advanced tab->

F. Add:; D: \ PHP \ ext at the end of the variable value.

G.Be sure to restart the computer

4. Input Java-version PHP-V node-v npm-V in DOS respectively to check whether the required items are successfully installed. If the required items are not successfully installed, reinstall the installation package.

5. Enter the NPM install-g fs command in DOS to install the F. I .s command of the local machine.

6. Enter the fiis-V. If the logo and version of The fiis displayed, the installation is successful.

7. Then, enter the command ""> "In dos" and run the command "To enable the system. The command" 127.0.0.1: 8080 "is displayed, indicating that the local system is running smoothly.

8. Switch the DOS path to the root directory of the local project.

9. input the fins release-W to successfully deploy the local project to 127.0.0.1: 8080.

 

After completing the above work, you can set up a local development environment for the FS.

 

 

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.