An open API service indexing awesome lists of open source software.

https://github.com/datashaman/spree_domains


https://github.com/datashaman/spree_domains

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

Spree Domains
=============

Basic multi-tenant plugin for Spree using URL domain to separate data.

Installation
------------

Add spree_domains to your Gemfile:

```ruby
gem 'spree_domains'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g spree_domains: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. The dummy app can be regenerated by using `rake test_app`.

```shell
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:

```ruby
require 'spree_domains/factories'
```

Copyright (c) 2015 Marlin Forbes (datashaman), released under the New BSD License