Skip to content

redhat-developer/gulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedHat Developer Gulp Script

This is a gulp script that does three things:

  1. The browser-sync task Proxies the localhost:4242 ruby server so that it is available on a local network IP - this allows to easy testing on mobile devices and virtual machines
  2. The styles task watches *.scss files for changes, and compiles, injects and refreshes the browser when needed
  3. The fonts task builds the RedHat icon font from the folder of SVG images

Requirements

  1. Node.js & NPM → Download the installer from http://nodejs.org/
  2. Gulp → Once Node.js is installed, open any terminal window and install gulp globally → npm install gulp -g

To Install

Do this only once:

  1. Download or clone this repo so that the gulp folder is a sibling of developer.redhat.com
  2. The first time, visit the gulp folder in your terminal and type npm install - this will fetch and install all dependencies

To Run

  1. Make sure you are running the awestruct server via rake preview in the root directory
  2. in the gulp project folder type gulp to run browsersync - the peroxided version of the site should open in your browser. If you view the terminal, you will see links to local and external - visit the external URL on any device or machine connected to your network.

Watch the full workflow here:

https://www.youtube.com/watch?v=sujGAuu5-Dc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published