Skip to content

Gulp task to package vanilla HTML banner files for RedTrax CMS

Notifications You must be signed in to change notification settings

howeller/gulp-zip-HTML-banners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-zip-HTML-banners

Packaging HTML banner files for RedTrax CMS.

Dependencies

Setup

  1. You will need to have NodeJs, & Gulp installed globally. Follow the Quick Start guide to get setup.

  2. Clone this repo or copy all contents to the root of your project folder.

  3. In Terminal - navigate to your project folder and run npm install to download all of the npm packages.

  4. Place each banner in a folder named with it's Redtrax name inside the src directory. This task will create the _final.zip and a copy of the HTML file inside dist. Everything you need for direct upload to RedTrax.

Your directory structure should look like this.

├── gulpfile.js
├── package.json
├── node_modules
├── dist
│   └── backups
├── lib
│   └── fsUtils.js
└── src
    └── banner_300x250

Each banner should go inside a folder named with it's RedTrax name. For example banner_300x250 will get renamed with your RedTrax banner name. Add as many banner folders as you need. Everything inside src will get processed in the task.

Tasks

zip (default)
Packages the published banner into a _final.zip Uncomment the code at bottom to have your project packaged into a _source.zip

Usage

To package everything up for uploading to RedTrax:

gulp

About

Gulp task to package vanilla HTML banner files for RedTrax CMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published