bcgov / bootstrap-theme

The new home for the new bootstrap v4 themed BC Gov. look-and-feel
https://bcgov.github.io/bootstrap-theme/
Apache License 2.0
17 stars 17 forks source link
citz

License Lifecycle:Retired

[!WARNING] This repository is Archived as of April 24, 2024. It has not been updated or maintained for several years. Anyone wishing to use Bootstrap for a B.C. govenerment application may wish to explore this alternative that is based on a newer version of Bootstrap. Teams may also wish to familiarize themselves with the B.C. Design System.

🚀 Government of British Columbia Bootstrap v4 Theme

Getting Started instructions

Full documentation and demonstrations of the theme

A Bootstrap version 4.3 BC Government look-and-feel featuring:

The project is a successor to the previous Gov-2.0-Bootstrap-Skeleton and mygovbc-bootstrap-theme. We combined the best of both projects and leverage the latest Bootstrap version.

Theme Developers

If you find yourself wanting to enhance or fix the theme you'll be interested reading this section on how to setup this source on your local device.

First, we do accept pull requests and will promptly merge fixes or enhancements if they make sense for the rest of the relying applications. Note, you should probably check out our issues and/or raise an issue before doing the pull request.

Tools Setup

You'll need the following tools installed on your device to begin working on the theme:

First Install

After your tools are in place, you should clone and install some packages:

git clone git@github.com:bcgov/bootstrap-theme.git
cd bootstrap-theme
npm install
gem install bundler
bundle install

Building Dist

To build the styles, Javascript and other assets, use:

npm run build

Or for continous building:

npm run watch

Building Docs

To build the docs (Jekyll), use:

npm run docs-compile

Or for continuous building and serving:

npm run docs-serve

Developer Workflow

In two different shells, run npm run watch and npm run docs-serve.

If you prefer to build inside a Docker container, run ./jekyll-docker.sh serve.