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-cliglobally withnpm install -g grunt-cli. - Navigate to the root
/bootstrap/directory, then runnpm install. npm will look at thepackage.jsonfile 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
/bootstrapdirectory, runbundle exec jekyll servein the command line. - Open
http://localhost:9001in your browser, and voilà.
Learn more about using Jekyll by reading its documentation.