Giter Site home page Giter Site logo

bbcpeople's Introduction

BBC People

The BBC people project displays profiles for various BBC personalities.

It uses various APIs including Juicer, Nitro, Programmes and MusicBrainz to aggregate data about people and produces various feeds and information relating to that individual.

The project is hosted at http://bbcpeople.pilots.bbcconnectedstudio.co.uk/

Getting Started

  1. This project was developed with Ruby 2.0 and Rails 3.2.13 with Postgres for persistent storage - make sure these are installed. Using RVM is recommended.

  2. Once you have ruby and rails installed, run bundler to install all required gems.

     $ bundle install
    
  3. Create the config/database.yml file with the settings to access your postres db.

  4. Run the migrations

     $ rake db:migrate
    
  5. For development, use foreman, as it will startup the worker process to process delayed_job as well as setting up all the correct environment variables which you must store in a .env file. Contact Michael Smethurst for details of the environment variables.

    If deploying to production, you can use apache and setup the environment variables in your virtualhost. You will need to launch deplay_jobs with env vars on the commmand line. You also need to run a cron task to obtain twitter ids for twitter handles. (Again contact MS for full details of cron setup)

  6. The app uses the nitro api - and can be switched between staging and production by changing the application.rb file

     config.nitro_environment = 'stage'
    

bbcpeople's People

Contributors

mamady avatar mikebrules avatar thom4parisot avatar

Watchers

 avatar  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.