Coder Social home page Coder Social logo

jacoblett / sparky Goto Github PK

View Code? Open in Web Editor NEW
21.0 6.0 8.0 2.79 MB

A Bootstrap 3 and 4 Sass Starter Project

Home Page: https://jacoblett.github.io/sparky/

JavaScript 3.43% HTML 57.93% CSS 38.64%
bootstrap-sass bootstrap starter-template project-template sparky sass boilerplate boilerplate-template bootstrap4

sparky's Introduction

Sparky

Bootstrap 3 Starter Project Folder

By: Jacob Lett of https://bootstrapcreative.com/

Bootstrap Sass + Custom scripts and styles + Grunt

This starter project folder uses the Bootstrap 3 Sass files to create a custom theme.

Demo

https://jacoblett.github.io/sparky/

Use this if

You need to support IE9 and below

Get Started

  • Create a new repo in your GitHub account and copy this repo clone URL https://github.com/JacobLett/Sparky.git

  • In your new repo on GitHub.com Click the "+" next to your profile image and select "import respository" and paste in the clone url

  • Once the new repo is created click on the green button that says "open in desktop"

  • In your windows GitHub application right click on the new repo and select "open in explorer"

  • Open up git shell and enter the following commands

    npm install

    bower install

    grunt watch

  • Commit your changes and sync to your new repo

To test the site using GitHub pages

Go to your repo settings on GitHub.com and choose your master branch for github pages.

Are you new to Node.js and Grunt projects?

I created a 7-part video series to show you how to get setup and then customize Sparky.

Bootstrap 3 Sass Customization Tutorial

Common Questions

Where is the Css compiled , i can not see where it compiles the sparky variables?

It is compiled in the dist or distribution folder. This folder will contain anything processed or compiled by Grunt - https://github.com/JacobLett/Sparky/tree/master/dist/css

Can you add more scss files in sass folder like _buttons.scss?

You sure can. Just add the underscore prefix and then reference it the style.scss file so it is imported in https://github.com/JacobLett/Sparky/blob/master/sass/styles.scss

When you upload the site or page to the server which are the files you have to upload?

All you need is the compiled files in the dist folder. The readme file helps a future developer find the source code in a public/private repo

  • dist
  • README.md
  • humans.txt
  • index.html
  • robots.txt

How do you get grunt to stop watching the file?

All you have to do is close the shell window. If you enter the command "start grunt watch" it will open two shell windows. One watching and the other for new commands. I usually just do "grunt watch" and leave it watching all day as I go in and out of the day. Then when I go home I commit my changes to github and close the command shell.

What chrome extension does the auto refresh?

I use https://chrome.google.com/webstore/detail/livejs/fnenjmjepccoionjgdgimlnppidghbbg You can also include a js file in your project while developing http://livejs.com/

sparky's People

Contributors

jacoblett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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