Giter VIP home page Giter VIP logo

builder_gulp-webpack-bs4's Introduction

builder_gulp-webpack-bs4

Generic badge

Another project with Gulp, Webpack and Bootstrap 4 grid.

System requirements

Clone repository an init project

git clone https://github.com/wowxoxo/builder_gulp-webpack-bs4 project_folder
cd project_folder
rm -rf .git
git init

Install dependencies

Install gulp globally

sudp npm install gulp

Install npm packages:

cd project_folder
npm install

Commands

Start the project.

npm start

Build the project.

npm run build

Create custom bootstrap

Requirements

Steps

  1. Extract archive from /app/src/libs/bootstrap-4.0.0.zip

  2. Install dependencies

    cd bootstrap-4.0.0
    npm i
  3. Install Ruby (with Ruby installer for Windows Users)

  4. Install Bundler (from 'Start Command Prompt with Ruby' Console!)

    gem install bundler

    OR command behind proxy:

    gem install --http-proxy http://UserLastName.UserFirstName:[email protected]:3128 bundler
  5. Edit Gemfile (only if you're behind proxy)

    Open Gemfile, change "source 'https://rubygems.org'" to "source 'http://rubygems.org'"

  6. Install Ruby dependencies

    • Open Ruby console

    • cd to folder bootstrap-4.0.0

    • run:

      # cd /d D:\
      bundle install
  7. Edit file variables.scss in folder app/libs

  8. Copy and replace file variables.scss to app/src/libs/bootstrap-4.0.0/scss

  9. Build

    Run command in Ruby console (you can do it in git bash too, but ruby console prefer):

    cd app/src/libs/bootstrap-4.0.0
    npm run dist
  10. Update grid for project

    Run command in Git Bash from root folder of project

    gulp bsRuby
  11. Done!

builder_gulp-webpack-bs4's People

Contributors

dependabot[bot] avatar wowxoxo avatar

Watchers

 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.