Skip to content

Commit a839557

Browse files
committed
updated the readme with gem and generator instructions
1 parent 2914415 commit a839557

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README

+16
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,24 @@ A new test is a made up of a locale.yml file and or a collection of new views. T
1414
Usage
1515
==========
1616

17+
As a plugin:
18+
1719
rails plugin install git://github.com/jhubert/rails-split-tester.git
1820

21+
As a gem:
22+
23+
Place this in your Gemfile:
24+
25+
gem 'split_tester', :git => 'git://github.com/jhubert/rails-split-tester.git'
26+
27+
then run:
28+
29+
bundle install
30+
31+
and then run the generator:
32+
33+
rails g split_tester_install
34+
1935
A file named split_tests.yml will be created in your config folder. This is where you will define the tests you want to run and what percentage of the traffic they should receive.
2036

2137
A folder named "split" will be created in your test folder. This is where the actual configuration of the split tests will go.

0 commit comments

Comments
 (0)