Git Product home page Git Product logo

pension_guidance's Introduction

Pension Guidance

Build Status

Pension guidance from Pension Wise.

Prerequisites

Installation

Clone the repository:

$ git clone https://github.com/guidance-guarantee-programme/pension_guidance.git

Install PrinceXML:

$ http://www.princexml.com/download/

Install and start Redis:

$ brew install redis && brew services start redis

Setup the application:

$ ./bin/setup

Usage

To start the application:

$ ./bin/foreman s

Image sprites

These are generated at the various sizes using svgexport. Update svg/circles.svg and run the following to regenerate the PNG files.

$ npm run svgexport

Heroku

Deploy

Contributing

Please see the contributing guidelines.

pension_guidance's People

Contributors

aduggin avatar alexkouz avatar amansinghb avatar andreferreiradlw avatar andrewgarner avatar andrewvos avatar arwelowen avatar benbarnett avatar benlovell avatar cassbonner avatar casslbonner avatar dependabot[bot] avatar dwhenry avatar eyss1234 avatar gjvis avatar guntrisoft avatar jiannis avatar jongilbraith avatar mariatheod avatar nikkialbon avatar pixeltrix avatar raykhan66 avatar stevenwilkin avatar thehenster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pension_guidance's Issues

Jasmine fixtures only working in rake or browser, not both

We've added jasmine to the 'ga-link-tracking' branch and are running fixtures with the 'jasmine-jquery-rails' gem.

To get fixtures to work we need to set the fixturePath in the following file:
https://github.com/guidance-guarantee-programme/pension_guidance/blob/ga-link-tracking/spec/javascripts/click-trackerSpec.js

To get fixtures to work in rake (rake spec:javascript) the path needs to be set to:
jasmine.getFixtures().fixturesPath='../../spec/javascripts/fixtures'

To get fixtures to work in the browser (http://localhost:3000/specs) the path needs to be set to:
jasmine.getFixtures().fixturesPath = '/assets/fixtures/';

It's currently set up to work in rake so that the tests can be run in CI, but if someone tries to run it in a browser it will fail - which will be confusing. Is there a way to get this working in both?

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.