Skip to content

builtbybuffalo/solidus_countries_backend

 
 

Repository files navigation

SolidusCountriesBackend

Build Status

Add an admin UI to Solidus for managing countries and states.

This functionality has been removed from Solidus backend with #2118.

Important Note

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.

Installation

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

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_countries_backend/factories'

Copyright (c) 2017 contributors, released under the New BSD License

About

Add an admin UI to Solidus for managing countries and states.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 51.6%
  • HTML 42.5%
  • JavaScript 4.1%
  • CSS 1.8%