Git Product home page Git Product logo

jumpstart-bootstrap's Introduction

Front End Slicing Starter (LESS or SASS)

This is to get you up and running with Bootstrap 4 and compiling SCSS with live-reload in a matter of seconds.

Includes out-of-the-box:

  • Automatically compile SASS
  • Vendor prefix your CSS for maximum browser support
  • Auto-minify that CSS
  • Auto-minify JavaScript
  • Build a local webserver with live-reload to test on in seconds
  • Bootstrap 4
  • NEW: jumpstart-bootstrap git bash script to automate literally everything for you. Read more below.

Recommended way of installing

Run the jumpstart-bootstrap.sh script. The installer will ask you to name your project. It will then proceed to clone the repo to the current directory with the name you gave it, compile, and start a local webserver with live-reload.

Requirements you'll need before running script

Step 1: Node.JS (easy install)

Install Node.js Node.js is installed (use installer). Skip this is you already have Node on your computer.

Step 2: Install gulp

Just open the terminal and run:

npm install gulp-cli -g
npm install gulp -D

Step 3: Install Browser Sync

npm install -g browser-sync

That's it! Hopefully you already had some of these installed. It shouldn't hurt to re-run any of these if you already installed them.

How to install manually

Clone the Repo

git clone [email protected]:derekbtw/bootstrap-4-jumpstart.git my-project
cd my-project

Note: If you are unsure how to use git, just skip this and download it manually. Same thing.

How do I turn it on?

You'll need to do this on your first run. This just brings in all the stuff the gulpfile will do for you automatically.

npm install

After that, just activate it with:

gulp

A web server will pop-up. Now, everything inside of the LESS and SASS folders will be automatically compiled to your css files!

How-To Summarized

git clone [email protected]:derekbtw/bootstrap-4-jumpstart.git my-project
cd my-project
npm install
gulp

Debugging

Make sure you have everything installed. If it's still not working, run:

npm cache clean
npm install --save-dev
npm update --save-dev
gulp

Quick Tips

When gulp is running:

  • Any changes to scss/ will be compiled to CSS/
    • Note: You must pick one or the other. They are both provided out-of-the-box.
  • Any changes or new files added to js/plugins will be compiled to js/plugins.js and js/plugins.min.js
  • Any changes or new files added to js/scripts will be compiled to js/scripts.min.js and js/scripts.js

License

MIT

jumpstart-bootstrap's People

Contributors

derekbtw avatar

Stargazers

 avatar  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.