Skip to content

ning/killbill-admin-ui

Repository files navigation

Kaui

This project rocks and uses MIT-LICENSE.

Getting started

Running Kaui

You can run Kaui locally using the dummy app in the test directory:

# Point to your killbill installation
export KILLBILL_URL="http://killbill.company.com:8080"
cd test/dummy && rails s

Mounting Kaui into your own Rails app

Kaui expects the container app to define the current_user method, which returns the name of the logged-in user. This is used by Killbill for auditing purposes.

You also need to install validation.js into your asset pipeline.

Gem dependencies:

gem 'rest-client', '~> 1.6.7'
gem 'money-rails', '~> 0.5.0'

Running tests

Prepare a kaui_test database locally to be able to run the test suite:

create database kaui_test;
grant all privileges on kaui_test.* to 'root'@'localhost' identified by '';

You can run tests using rake:

rake test

About

Mountable Rails 3 Engine for Killbill Administration UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published