Sha256: 210737077b07ef4daead83fb103c33201924334e338aaba753475f3a6eabd0a8

Contents?: true

Size: 1.89 KB

Versions: 1

Compression:

Stored size: 1.89 KB

Contents

# SpreeChannable

Channable offers many ways to transform a product feed to many marketplace formats. On top channable offers an order connection to accept incoming orders from connected marketplaces. This gem connects your spree store to the channable platform. The feeds are configurable and can be directly loaded into channable. 
The order connection can be enabled by channable on request and can be easily configured through the spree admin panel. 

## Installation

1. Add this extension to your Gemfile with this line:
  ```ruby
  gem 'spree_channable', github: 'Oldharlem/spree_channable'
  ```

2. Install the gem using Bundler:
  ```ruby
  bundle install
  ```

3. Copy & run migrations
  ```ruby
  bundle exec rails g spree_channable:install
  ```

4. Schedule order imports

Schedule the `SpreeChannable::OrderImportJob.perform_later` to run every `SpreeChannable.configuration.polling_interval` minutes. This script will pull all orders placed `SpreeChannable.configuration.polling_interval` minutes ago. Please configure the integration through the channable settings under spree configurations before running the script. 

5. Restart your server

  If your server was running, restart it so that it can find the assets properly.

  

## 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_channable/factories'
```


## Contributing

If you'd like to contribute, please take a look at the
[instructions](CONTRIBUTING.md) for installing dependencies and crafting a good
pull request.

Copyright (c) 2019 Fabian Oudhaarlem, released under the New BSD License

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_channable-0.0.18.alpha README.md