Skip to content

artiparty/free-design-consultation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to work

All files for production are compiled with Grunt. CSS compiled with PostCSS. Images and HTML just copied.

Setup

  1. Install Node.js.

  2. Install Grunt CLI:

     $ npm install -g grunt-cli
    
  3. Install development modules:

     $ npm install
    
  4. Run grunt build.

Folders structure

root — configs and dependencies.

build — destination directory. There would be generated assets. Shouldn't be in repository.

dev — source directory for everything:

  • dev root — HTML.
  • img — images.
  • pcss — PostCSS files.

Generate assets

Start watching service which generates dev version on each source file change, also this start local webserver with autoreload:

$ grunt

Generate production (minified and optimized) version:

$ grunt build

Other Grunt-tasks

test — check JavaScript code style in scripts.js and Gruntfile.js.

deploy — build website and upload to the GitHub Pages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published