https://github.com/datashaman/spree_domains
https://github.com/datashaman/spree_domains
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/datashaman/spree_domains
- Owner: datashaman
- License: bsd-3-clause
- Created: 2015-05-10T07:49:34.000Z (about 11 years ago)
- Default Branch: develop
- Last Pushed: 2015-05-10T09:31:55.000Z (about 11 years ago)
- Last Synced: 2025-02-06T05:43:46.659Z (over 1 year ago)
- Language: Ruby
- Size: 145 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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