Bootstrap Forked for Ediket
Bootstrap uses Grunt for its build system, with convenient methods for working with the framework. It's how we compile our code, run tests, and more.
To install Grunt, you must first download and install node.js (which includes npm). npm stands for node packaged modules and is a way to manage development dependencies through node.js.
Then, from the command line:
- Install
grunt-cli
globally withnpm install -g grunt-cli
. - Navigate to the root
/bootstrap/
directory, then runnpm install
. npm will look at thepackage.json
file and automatically install the necessary local dependencies listed there.
When completed, you'll be able to run the various Grunt commands provided from the command line.
Regenerates the /dist/
directory with compiled and minified CSS and JavaScript files. As a Bootstrap user, this is normally the command you want.
Watches the Less source files and automatically recompiles them to CSS whenever you save a change.
Runs JSHint and runs the QUnit tests headlessly in PhantomJS
Builds and tests CSS, JavaScript, and other assets which are used when running the documentation locally via bundle exec jekyll serve
.
Compiles and minifies CSS and JavaScript, builds the documentation website, runs the HTML5 validator against the docs, regenerates the Customizer assets, and more. Requires Jekyll. Usually only necessary if you're hacking on Bootstrap itself (which is what Editstrap is all about).
- If necessary, install Jekyll and other Ruby dependencies with
bundle install
. Note for Windows users: Read this unofficial guide to get Jekyll up and running without problems. - From the root
/bootstrap
directory, runbundle exec jekyll serve
in the command line. - Open
http://localhost:9001
in your browser, and voilĂ .
Learn more about using Jekyll by reading its documentation.