Skip to content

psinegmatic/test_page-likee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test-page for likee

Author: Polovkov Dmitriy

The template uses a Sass with Sass syntax and project structure with source code in the directory app/ and production folder dist/, that contains ready project with optimized HTML, CSS, JS and images.

How to use Test-page

  1. Download test-page from GitHub;
  2. Install Node Modules: npm i;
  3. Run the template: gulp.

Gulp tasks:

  • gulp: run default gulp task (sass, js, watch, browserSync) for web development;
  • build: build project to dist folder (cleanup, image optimize, removing unnecessary files);
  • deploy: project deployment on the server from dist folder via FTP;
  • clearcache: clear all gulp cache.

Rules for working with the starting HTML template

  1. For installing new jQuery library, just run the command "bower i plugin-name" in the terminal. Libraries are automatically placed in the folder app/libs. Bower must be installed in the system (npm i -g bower). Then place all jQuery libraries paths in the 'libs' task (gulpfile.js);
  2. All custom JS located in app/js/common.js;
  3. All Sass vars placed in app/sass/_vars.sass;