ECM Pictures 2 Backend¶ ↑
Prerequisites¶ ↑
Install ecm_pictures2
Installation¶ ↑
Add it to your Gemfile:
# Gemfile gem 'route_translator' gem 'itsf_backend' gem 'ecm_pictures2_backend'
Generate the initializer, backend controller and routes:
rails g itsf:backend:install rails g ecm:pictures:backend:install
Register the backend in the ITSF Backend configuration:
# config/initializers/itsf_backend.rb Itsf::Backend.configure do |config| config.backend_engines = [ Ecm::Pictures::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.