Git Product home page Git Product logo

rizzo's Introduction

Rizzo

Rizzo is the UI layer for lonelyplanet.com. Rizzo also serves LP's header and footer, assets and Style Guide.

The main goal of Rizzo is to enable sharing of templates and assets across all LP applications. This helps us to reduce complexity and increase reusability. There is a write-up of the thought process behind Rizzo on the engineering blog.

Install & Get Dependencies

$ git clone [email protected]:lonelyplanet/rizzo.git && cd rizzo
$ cp .ruby-version.example .ruby-version
$ cp .ruby-gemset.example .ruby-gemset
$ cd .
$ bundle install
$ npm install
$ grunt setup # sets up jscs & jshint git precommit hook for contributors, and inits the private font submodule

Note for non Lonely Planet staff

Due to licensing restrictions imposed on our fonts you will have to manually create some empty files in order to run Rizzo locally:

$ touch app/assets/stylesheets/fonts/_font.sass
$ touch app/assets/stylesheets/fonts/_font_woff2.sass

Documentation

Full documentation about Rizzo and development guidelines is available at http://rizzo.lonelyplanet.com/documentation/general/development-principles.

Jasmine Tests

There is a suite of JavaScript tests in spec/javascripts. These tests are currently using Jasmine v1.x from grunt-contrib-jasmine v0.5.x.

In order to run the tests you'll need a few things installed with node.js.

npm install -g grunt-cli  # Install grunt globally
npm install # Install packages from package.json

You can now run the following to run the tests with grunt...

grunt ci

It should look like...

##Run tests

grunt ci
grunt jshint
grunt jscs
bundle exec rspec
bundle exec cucumber

rizzo's People

Contributors

ianfeather avatar remybach avatar i-like-robots avatar chee avatar anselmo avatar wunderbart avatar jmmerino avatar marvinbarretto avatar jcreamer898 avatar robuye avatar poppiestar avatar marckysharky avatar joshdjuric avatar gcziprusz avatar textgoeshere avatar bentedder avatar nidalaa avatar joeshep avatar hmahan avatar me avatar thomasthesecond avatar tonyto avatar amccadams avatar keqi avatar madmaniak avatar pzac avatar finnursig avatar drowka avatar mdkalish avatar tatyree avatar

Watchers

James Cloos avatar Trikyas 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.