Alephant
This is the main entry point for the Alephant framework.
Requires:
- https://github.com/BBC-News/alephant-publisher
- https://github.com/BBC-News/alephant-support
- https://github.com/BBC-News/alephant-sequencer
- https://github.com/BBC-News/alephant-cache
- https://github.com/BBC-News/alephant-logger
- https://github.com/BBC-News/alephant-renderer
- https://github.com/BBC-News/alephant-lookup
- https://github.com/BBC-News/alephant-preview
- https://github.com/BBC-News/alephant-broker
Installation
Add this line to your application's Gemfile:
gem 'alephant'
And then execute:
$ bundle
Or install it yourself as:
$ gem install alephant
Usage
require 'alephant'
require 'configuration'
class App
def initialize
@config = Configuration.new
@alephant = Alephant::Publisher.create(@config.app_config, logger)
end
def run!
t = @alephant.run!
t.join
end
def logger
@logger ||= LoggerFactory.create(@config)
end
end
Contributing
- Fork it ( http://github.com/BBC-News/alephant/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request