Skip to content
This repository was archived by the owner on Nov 29, 2019. It is now read-only.

IDTdesign/BRGPR

Repository files navigation

Boss Revolution Prepaid Master Card

First run

  1. Clone this perository to any folder you want

  2. In that folder run in console one after another:

    npm install
    bower install
    
  3. To start project locally run in colsole

    docpad run
    

    for optimizing rendering speed less compilation in development made as separate task:

    grunt watchless
    
  4. Open in browser http://localhost:9778

Development

docpad run — to start locally

docpad run --env preview — to preview optimized version

docpad deploy-ghpages --env static — publish to http://IDTdesign.github.io/BRGPR

Custom grunt tasks

grunt lint --force — check *.less files and *.html files for errors. Run when project fails to compile.

grunt svgicons — compile svg sprite. Run when icons edited or added new.

grunt imageoptim — compress images in img folder. Run when new assets added.

About Docpad Environments

There are 3 environments in the project:

  1. Development — default environment. No minification or concatenation on styles and scripts. Default Modernizr.js.
  2. Preview — optimized for faster loading. All styles merged one file and minified. Same with scripts, output script uses custom Modernizr build. HTML minified and GZIPped.
  3. Static — same as preview but generated site uses direct urls for http://IDTdesign.github.io/BRGPR

Publishing

Before first publishing run this command in GIT console
git remote add deploy https://login:password@github.com/IDTdesign/BRGPR.git

Where login and password is your Github credentials.

Then run docpad deploy-ghpages --env static — publish to http://IDTdesign.github.io/BRGPR

More info http://paulradzkov.com/2014/deploy_docpad_site_to_github_pages/

About

Boss Revolution Prepaid Master Card (templates)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •