Grunt Front-end development environment construction

Source: Internet
Author: User

1. Find the Administrator (Tang Min) to open gitlab permissions

2. Download and install the git tool

3. Download and install Nodejs

4. Installing CNPM

5. Install Kulor-cli

CNPM install-g KULOR-CLI

CNPM install-g GRUNT-CLI

CNPM Install

6. Install Nginx and run

7. go to the working directory to run grunt

Supplement How to configure the environment locally and run it from remote pull code

1, to https://code.wz-inc.com/find the corresponding project path, copy down,

2, Git clone to local, for example: Git clone [email protected]: So/venus-console.git

3. Open down the file, right click to select Tortoisogit–switch/checkout Switch to the branch where the project is located,

4. Under Fe, press and hold shit right click Select here to Open Command window, enter CNPM install, establish dependency,

5, then run the above step grunt

6, open the local project, copy the path, in the wenus.conf under Nginx Configure the local operating environment,

7, in the hosts to configure access to the domain name,

8, performed the sixth step, all to the desktop, Press and hold shit right click Select here to open a command window, enter the "nginx-shortcut. Lnk"-s reload, in effect the modified path,

Grunt front-end development environment Setup

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.