GithubHelp home page GithubHelp logo

opusvl / govstrap.io Goto Github PK

View Code? Open in Web Editor NEW
24.0 5.0 10.0 2.44 MB

Govstrap.io is a port of the GOV.UK standard web theme to the Bootstrap framework

Home Page: http://govstrap.io/

License: Other

CSS 59.92% JavaScript 3.10% HTML 36.98%
bootstrap bootstrap3 bootstrap4 theme govuk gds gov css javascript

govstrap.io's Introduction

Govstrap.IO Boilerplate Starter Kit

This Boilerplate Starter Kit is a Front-end web kit and boilerplate for building web apps or small sites reflecting the GOV.UK designs patterns using Pug(Jade) and Sass / Scss

Govstrap.io is a port of the GOV.UK standard web theme to the Bootstrap framework which allows developers with working knowledge of Bootstrap to build GOV.UK related sites without learning the details of the GDS methods. This software enables the developer to take advantage of the significant investments made by GDS in accessibility and device compatibility by re-using the GDS theme.

The code was created as a by-product of the Summer 2016 http://code4health.org website update and subsequently released for re-use by others, therefore all code created for the govstrap.io project is available as Open Source software.

Please keep in mind this project is still beta, meaning things may not be working as expected or will be changed in future updates and may have some broken links whilst we develop the site.

This repo contains the http://govstrap.io website code and examples.

The site is created using apache SSI to simplify editing and management of the site. govstrap.io has also been integrated in to the http://flexibase.io CMS platform.

Inspiration

This project is based on a simple and fast workflow focused mainly on the front-end task. It gives a solid starting point for newcomers who wants a ready-to-deploy local environment setup. The sources used to build this project includes:

Features

  • Pug-Sass ready.
  • Easy to deploy your production files
  • Performance optimization: minify and concatenate JavaScript, CSS, HTML and images
  • Live browser reloading with BrowserSync
  • Includes:

Requirements

Optionals

Getting Started

After Node.js, npm, Gulp and Bower(optional) installation, you can create a new project based on pug-sass-boilerplate-starter-kit by doing the following:

Install From Source

First, clone the project:

$ git clone https://github.com/Errec/pug-sass-boilerplate-starter-kit.git <my-project-name>

or simply download from the GitHub repo

Initialize npm on <my-project-name> directory

$ cd <my-project-name>
$ npm install

Running Your Local Server With Gulp

After the installation of all requirements and its dependencies, your local web development environment is ready to run. Setup your initial files with gulp build. This command is only necessary the first time the project is set or if the build folder is deleted.

$ gulp build

Now run your local server using the server task

$ gulp server

This task will open the browser window usually with the URL http://localhost:3000/. Any saved changes made to the project files, will reload automatically the browser.

The build/ Contents

.
├── build/
    ├── fonts/                    # Contains the font files used in the project
    ├── images/                    # Contains the compressed and optimized image files
    ├── styles/                    # Contains the concatenated/minified .css files and .map files
    ├── scripts/                     # Contains the concatenated/minified/uglyfied .js files and normal js files
    ├── vendors/             # Store third party libraries (jQuery, bootstrap, font-awesome)
    └── index.html              # Minified html index file

Deployment

All you need to do is copy the content of the build folder into your hosting account and you are set.

govstrap.io's People

Contributors

brianteeman avatar colinnewell avatar jj-opusvl avatar jjpell avatar johnmica avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

govstrap.io's Issues

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.