-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
34 lines (27 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Facho
===========
This is a plugin for OpenPHIN.
1) plugins are registerd in the global array $expansion_list
2) javascript and stylesheet files
- any javascript and stylesheet files for the plugin are registered with
rails register_javascript_expansion() and register_stylesheet_expansion()
- the paths must be relative to Rails.root/public
- the plugin install.rb must make links to the plugin js/css dirs in
Rails.root/public
3) run cucumber tests for this plugin with 'rake cucumber:Facho'
4) run spec tests for this plugin with 'rake spec:Facho'
The following was done initially to setup the plugin:
1) edited Rails.root/spec/spec_helper.rb to
- set fixture path to facho/spec/fixtures/
- load facho/spec/factories.rb
2) Edited facho/install.rb to create
- link in Rails.root/public to vendor/plugins/facho/public/javascripts
- link in Rails.root/public to vendor/plugins/facho/public/stylesheets
- link in facho/spec/spec_helper.rb -> Rails.root/spec/spec_helper.rb
3) Necessary factories were defined in facho/spec/factories.rb
4) Defined tasks in facho/tasks/cucumber.rake & facho/tasks/rspec.rake
5) Defined migrations in facho/tasks/facho_tasks.rake
Example
=======
Example goes here.
Copyright (c) 2012 talho