ECM Downloads 2 Backend¶ ↑
Prerequisited¶ ↑
Install ecm_downloads2
Installation¶ ↑
Add it to your Gemfile:
# Gemfile gem 'route_translator' gem 'itsf_backend' gem 'ecm_downloads2_backend'
Generate the initializer, backend controller and routes:
rails g itsf:backend:install rails g ecm:downloads:backend:install
Register the backend in the ITSF Backend configuration:
# config/initializers/itsf_backend.rb Itsf::Backend.configure do |config| config.backend_engines = [ Ecm::Downloads::Backend::Engine ] end
How to run specs¶ ↑
gem install bundler bundle cd spec/dummy && rake db:migrate RAILS_ENV=test && cd ../.. guard
This project rocks and uses MIT-LICENSE.