Skip to content

JoshuwayMorris/BootSass

Repository files navigation

BootSass

A simple Bootstrap Sass framework using Gulp 4, JavaScript, task automation and linting. Developed for use with CodeFirst: Girls. With thanks to Ben Spencer.

Installing

Step One: Windows

  1. On a Windows computer, visit the Node JS website and download the "Windows Installer".

  2. Run the installer, accepting the licence agreement, keeping all the default options.

  3. Restart your Computer.

  4. Click the Start Button, type "cmd" to search your applications and open "Command Prompt".

  5. Proceed to Step Two.

  6. Issues? Visit this website

Step One: Mac

  1. On a Mac, open your app launcher and type "Terminal" to search your applications and open "Terminal".

  2. Install the Xcode Command Line Tools by entering the following code into the terminal and press enter:

$ xcode-select --install
  1. If you've recently installed Xcode you might need to launch it and accept the terms and conditions.

  2. Install Node.js by running the Node Version Manager (NVM) install script (ff you're using Z shell, replace bash with zsh in the above install script):

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
  1. Restart your Mac.

  2. Proceed to Step Two.

Step Two (Windows and Mac)

  1. Using the Terminal/Command Prompt type the following code and press enter to check what version of Node.js is installed:
$ nvm list
  1. Check what the latest stable version of Node.js available for download:
$ nvm ls-remote --lts | grep Latest
  1. If the versions differ, type the following code to install to the latest version:
$ nvm install --lts
  1. Now that you've installed the latest version, check that the latest version is being used:
$ node -v
  1. Now update the Node.js Package Manager, NPM:
$ npm install -g npm
  1. Install the Gulp command line utility:
$ npm install --g gulp-cli
  1. Install all of BootSass's required packages:
$ npm install

Usage

  1. Run 'gulp' to start in development mode and watch for Sass and JavaScript changes.
$ gulp
  1. Run 'gulp prod' to minify CSS and JavaScript ready for production.
$ gulp prod

Built with

  • Plinth - A solid and simple base for front-end web projects using Sass, JavaScript, task automation and linting
  • Sass Boilerplate - A boilerplate for Sass projects
  • include-media - Simple, elegant and maintainable media queries in Sass
  • Gulp - Automate and enhance your workflow
  • Stylelint - A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.
  • JSHint - Community-driven tool that detects errors and potential problems in JavaScript code

About

A simple Sass, Bootstrap, Gulp package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published