Installs Amplify.js into your Rails 3 app
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
vendor
.document
.gitignore
.rspec
Gemfile
LICENSE.txt
README.textile
Rakefile

README.textile

Amplify rails

Installs Amplify (currently 1.0.beta) into vendor/assets/javascripts in Rails 3.1

Install

In your Gemfile, add this line:

gem "amplify-rails"

Then, run bundle install. To invoke the generator, run:

rails generate amplify:install

You’re done!

To avoid generating minified javascript files

rails generate amplify:install --no-minify

To install individual packs (core, request, store)

rails generate amplify:install --packs core request

Documentation

See API Docs

Contributing to Amplify Rails

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet
  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Copyright © 2011 Kristian Mandrup. See LICENSE.txt for further details.