Code Monkey home page Code Monkey logo

han's Introduction

HAN
===========

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:HAN'
4) run spec tests for this plugin with 'rake spec:HAN'

The following was done initially to setup the plugin:
1) edited Rails.root/spec/spec_helper.rb to
  - set fixture path to han/spec/fixtures/
  - load han/spec/factories.rb
2) Edited han/install.rb to create
  - link in Rails.root/public to vendor/plugins/han/public/javascripts
  - link in Rails.root/public to vendor/plugins/han/public/stylesheets
  - link in han/spec/spec_helper.rb -> Rails.root/spec/spec_helper.rb
3) Necessary factories were defined in han/spec/factories.rb
4) Defined tasks in han/tasks/cucumber.rake & han/tasks/rspec.rake
5) Defined migrations in han/tasks/han_tasks.rake


Example
=======

Example goes here.


Copyright (c) 2010 [name of plugin creator], released under the MIT license

han's People

Contributors

andrewduhan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.