metaphor-theme
v2.0.14
Published
CSUN-branded Bootstrap 4 theme
Downloads
28
Readme
Metaphor V2
This is a custom Bootstrap 4 theme with CSUN branding.
What this project does
This repository includes a project structure with a build script that builds a custom CSS version of Bootstrap 4 using Gulp.
Also included in this repository is the docs for MetaphorV2, which are served up here using github pages and powered by VuePress.
Prerequisites
- This works on Windows, macOS and Linux.
- Node Package Manager and Gulp are required. Make sure you can run
gulp -v
andnpm -v
. - You can get Node at nodejs.org, then install gulp using
npm install gulp-cli -g
Getting started
Editing the booststrap theme itself
- Clone this repo
- Run
npm install
- Run
gulp watch
(and then leave that terminal window reserved for the gulp watcher to run) - If you encounter any errors, consider changing your version of node (nvm is a useful tool for this.) Version 8.10.0 is confirmed to work.
- Look at
index.html
(ideally with a local development webserver) - Edit any of the
.scss
or.js
files within thesrc
directory as desired
Publishing an update of the theme to NPM
- Make any desired changes to the theme (see above instructions)
- Update the version number in
package.json
- Commit changes to github
- Run
npm publish
Editing the docs (which are powered by VuePress)
- Run
npm run docs:dev
- If you encounter any errors, consider changing your version of node (nvm is a useful tool for this.) Version 8.10.0 is confirmed to work.
- Edit any of the
README.md
files within thedocs
directory as you see fit.
Publishing updates to the docs
- Run
npm run docs:build
- Run
bash deploy.sh
License
The project is open source and under the GNU General Public License v3+. A copy can be found in the COPYING
file.