Giter Club home page Giter Club logo

big-ft's Introduction

Big FT Test Coverage Code Climate

Development

Prerequisites

Setting up development environment

  • Clone the repository -- git clone [email protected]:ftlabs/big-ft.git
  • Change in repository directory -- cd big-ft
  • Install the dependencies -- npm install
  • Build the files used by the web client -- npm run build
  • Spin up the web server -- npm start
  • Open the website in your browser of choice -- open "localhost:3000" -- it will default to port 3000

Day-to-Day Development

When developing you may want to have the server restart and client files rebuilt on any code changes. This can be done with the develop npm script -- npm run develop.

Testing

Selenium is used for integration testing. In order to get Selenium running you will need to install the Java Development Kit.

Updating Code-Climate

  • Install Code-Climate's Test Reporter -- npm install -g codeclimate-test-reporter
  • Run the tests for the project -- gulp test
  • Upload the coverage file to Code-Climate -- CODECLIMATE_REPO_TOKEN=[your token] codeclimate-test-reporter < coverage/lcov.info

Usage

To experience the big view glory:

To display a specific timezone:

To display the US home page:

To include recent articles about a specific organisation whih may not ordinarily make it to the front page

To configure the big view glory to display articles about Amazon:

To configure the big view glory to display only the first top-story in the primary section:

To customise everything in the big view glory which is customisable:

To switch to the simplistic black and white version

Vanity URLs

For our partners, we can display a vanity URL in the corner of Big FT. To display the vanity url, pass the partners name (as listed here ) a query parameter to the Big FT service. For example http://big.ft.com/?partner=labs will display the URL labs.ft.com in the bottom right corner. If the value passed does not relate to one of our partners, www.ft.com will display instead.

big-ft's People

Contributors

adarosecannon avatar j-mes avatar jakechampion avatar railsagainstignorance avatar seanmtracey avatar triblondon avatar

Watchers

 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.