Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

onehippo/hippo-theme

Repository files navigation

Hippo Theme

Build Status

The Hippo theme is a centralised library containing reusable components for Hippo-related projects. You can use it to create clickable mockups or end-projects that need to be in line with the Hippo styling.

Development environment setup

Prerequisites

Dependencies

  • Grunt (task automation)
  • Bower (package management)

Installation

Run the commands below in the project root directory. #####1. Install Grunt and Bower

$ sudo npm install -g grunt-cli bower

#####2. Install project dependencies

$ npm install
$ bower install

Useful commands

####Generate build The build version is located in the dist directory.

$ grunt build:dist

####Generate demo website The build version is located in the demo directory. After building you can publish it to the Hippo Theme Demo.

$ grunt build:demo

####Run tests The tests need to pass in order to build the demo.

$ grunt test

####Setup server The browser will show the demo website which shows all available compontents for the theme.

$ grunt server:demo

####Publish to the Hippo Theme demo repository Create an online demo of the Hippo Theme.

$ grunt publish

Deployment to Nexus

Prerequisites

Deployment command

$ mvn deploy