Skip to content

talho/facho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An extension to seed the facho app for openphin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages