Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.13 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.13 KB

SolidusIndonesia

Limit the app only for Indonesia, Add Province and City, and Customize address views

Installation

Add solidus_indonesia to your Gemfile:

gem 'solidus_indonesia', github: 'qmetzie/solidus_indonesia'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_indonesia:install

After do the migration:

rails db:seed or rake solidus_indonesia:load_seeds

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'solidus_indonesia/factories'

Copyright (c) 2018 Contributors, released under the New BSD License