This is a custom Bootstrap 4 theme with CSUN branding.
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.
- 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
- 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
- Make any desired changes to the theme (see above instructions)
- Update the version number in
package.json
- Commit changes to github
- Run
npm publish
- 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.
- Run
bash deploy.sh
The project is open source and under the GNU General Public License v3+. A copy can be found in the COPYING
file.