Add an admin UI to Solidus for managing countries and states.
This functionality has been removed from Solidus backend with #2118.
Solidus will remove support for changing countries and states since they will not be stored anymore in the database; in fact Solidus will slowly migrate to Carmen. Extracting this core functionality into an external gem is part of the migration process so it is recommended not to use this extension.
Add solidus_countries_backend to your Gemfile:
gem 'solidus_countries_backend'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g solidus_countries_backend:install
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_countries_backend/factories'
Copyright (c) 2017 contributors, released under the New BSD License