Coder Social home page Coder Social logo

danielcarlyle / html5_template-scss-gulp-starter-rtoero Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 57.71 MB

Front-end styling and design for the latest RTOERO company website. I coded the site, based on designs from Camden Media/108 Idea Space, and then sent code to be added within a custom WordPress theme for the site.

Home Page: https://www.rtoero.ca

License: MIT License

JavaScript 0.71% CSS 4.14% HTML 80.39% SCSS 14.76%
css css-animations sass sass-mixins html5 partial gulp bootstrap4 javascript bem-methodology node scss html-framework gulp-tasks handlebars

html5_template-scss-gulp-starter-rtoero's Introduction

BOOTSTRAP + GULP STARTER TEMPLATE

Note

The docs folder is for demo purposes only.

Changes should be commited to src/ files only.

How to use

The template is built with Sass and Gulp build system with these features:

  • Handlebars HTML templates with Panini– Panini is a super simple flat file generator for use with Gulp. It compiles a series of HTML pages using a common layout. These pages can also include HTML partials, external Handlebars helpers, or external data as JSON.
  • Sass compilation, prefixing with Autoprefixer, and JavaScript concatenation
  • Built-in BrowserSync server - Will automatically reload your page when files are changed. It also live-injects CSS changes when you save a Sass file. This task runs continuously. Defaults to localhost.
  • For production builds - CSS compression, JavaScript compression, Image compression and more..

Requirements

To use this template, your computer needs:

  • Node.js is used to run the build processes. https://nodejs.org/en/download/
  • Test: run node -v in the terminal
  • Npm (Node comes with npm installed so you should have a version of npm.) Used to manage development dependencies.
  • Test: run npm -v in the terminal
  • Gulp – task runner npm install -g gulp
  • Test: run gulp -v in the terminal

Installing:

  • Clone this repo: git clone https://github.com/johndavemanuel/bootstrap-gulp-starter-template.git
  • Navigate into the repo directory: cd bootstrap-gulp-starter-template
  • Install all node packages: npm install
  • Run gulp development
  • Your site is now viewable at this URL: http://localhost:3000
  • To create compressed, production-ready assets run gulp production. This will delete everything in the dist folder and recreate all of your complied files. Never make updates directly into the dist folder as these files get overridden each time. Note: The dist folder is not kept in source control.

Folder Structure:

  • dist/ - compiled distribution files
  • node_modules - front-end dependencies
  • src/ - contains all of your core, working files—static assets, pages, templates, etc
  • src/assets/ - scss files, JS files, images, and fonts are here
  • src/data/ - external data
  • src/layouts/ - HTML layouts templates
  • src/pages/ - site pages
  • src/partials/ - handlebars partials files.
  • gulpfile.js - all task definitions
  • package.json - handles the front-end dependencies
  • .htmllintrc - handles the HTML lint rules
  • .sass-lint.yml - handles the SCSS lint rules
  • reports - txt generated file for accessibility issues

Gulp Plugins:

Additional Resources:

screencapture-rtoero-ca-2021-02-05-12_00_51

html5_template-scss-gulp-starter-rtoero's People

Contributors

danielcarlyle avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.