Giter Site home page Giter Site logo

poornima-sivanand / common-service-showcase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bcgov/common-service-showcase

0.0 0.0 0.0 14.09 MB

Website for user documentation and marketing of the common services built by the Common Service Showcase Team

Home Page: https://bcgov.github.io/common-service-showcase/

License: Apache License 2.0

Shell 0.31% Ruby 2.60% HTML 61.70% SCSS 35.39%

common-service-showcase's Introduction

Common-Service-Showcase License img

Website for user documentation and marketing of the common services built by the Common Service Showcase Team.

GitHub Pages

We are using GitHub Pages with gh-pages branch publishing source. We have set gh-pages as the default branch and we require that all changes are done via Pull Requests. However, in order to review/preview the changes, one must run the site locally.

Content

The site is built with Jekyll, so start by reviewing their documentation. Jekyll in turn uses Markdown, Liquid, HTML & CSS to generate the static site.

Collections

The site uses multiple pages, some of which are built from collections. See the collections key in the config.yaml

/collections is the directory that collections go in.

/collections/_services is the most likely spot to need to add new collections. Markdown files added here with the correct Front Matter will dynamically create the new pages, their navigation items, and add to lists on multiple pages.

Publishing

GitHub Pages understands Jekyll and will build and deploy sites automatically, do not check in the _site directory.

  1. Fork the Common Service Showcase repository
  2. Checkout gh-pages branch
  3. Create branch from gh-pages
  4. Add new collections (services), or other content
  5. Build with Jekyll
  6. Review your changes
  7. Commit and push your changes to your fork.
  8. Make a Pull Request in Common Service Showcase repository.
  9. Ask for a review and approval of changes.

Build with Jekyll

  1. Install a full Ruby development environment (2.6 works). For Windows users, visit https://rubyinstaller.org/downloads/ and download latest version WITH Devkit option. Install the installer (when prompted, just tap enter to use defaults - may happen twice)

  2. Install Jekyll and bundler gems. Open a console window with directory at root of this repo and run:

gem install bundler
bundle install
  1. Build and serve site (locally)
bundle exec jekyll build
bundle exec jekyll serve
  1. Go to site: http://localhost:4000/common-service-showcase/

common-service-showcase's People

Contributors

dependabot[bot] avatar jujaga avatar kamorel avatar loneil avatar mark-a-wilson avatar matthewhall78 avatar michaelchung123 avatar repo-mountie[bot] avatar timcsaky avatar usingtechnology avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.