- Run
npm cito install the project dev dependencies. - Run
npx gulp buildto compile the project.
There are several ways to view the compiled project:
- Run
npx gulpto compile the project and open it in your browser with a live reload server. - Navigate to the
builddirectory and runpython -m http.serverto start a local web server using Python. - Open the
index.htmlfile in your browser. (Browsers may behave differently when opening local files than when opening files from a web server.) - View the latest build on GitHub Pages: https://theo543.github.io/Matrix-Math/
None as it's a static site, but here are the dev dependencies to compile the project:
browser-sync- a live reload server for development (optional, not used bynpx gulp build, but used bynpx gulp)gulp- an automation tool similar to CMake or Makegulp-pug- a Gulp plugin for compiling Pug to HTML (Pug is intended for templates but it works just as well as a more concise HTML syntax)gulp-rename- a simple Gulp utility for renaming files (used to add the proper extension to compiled files)gulp-sass- a wrapper for the sass module that allows it to be used with Gulpsass- a Node.js SCSS compiler