From Start Bootstrap - Grayscale
To begin using this template, choose one of the following options to get started:
- Download the latest release on Start Bootstrap
- Install using npm:
npm i startbootstrap-grayscale - Clone the repo:
git clone https://github.com/StartBootstrap/startbootstrap-grayscale.git - Fork, Clone, or Download on GitHub
Clone the source files of the theme and navigate into the theme's root directory. Run npm install and then run npm start which will open up a preview of the template in your default browser, watch for changes to core template files, and live reload the browser when changes are saved. You can view the package.json file to see which scripts are included.
npm run buildbuilds the project - this builds assets, HTML, JS, and CSS intodistnpm run build:assetscopies the files in thesrc/assets/directory intodistnpm run build:pugcompiles the Pug located in thesrc/pug/directory intodistnpm run build:scriptsbrings thesrc/js/scripts.jsfile intodistnpm run build:scsscompiles the SCSS files located in thesrc/scss/directory intodistnpm run cleandeletes thedistdirectory to prepare for rebuilding the projectnpm run start:debugruns the project in debug modenpm startornpm run startruns the project, launches a live preview in your default browser, and watches for changes made to files insrc
You must have npm installed in order to use this build environment.
npm run build
git subtree push --prefix dist origin gh-pages