Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 2.11 KB

README.md

File metadata and controls

89 lines (65 loc) · 2.11 KB

Sylius Mailchimp Plugin

Latest Version on Packagist Software License Build Status Quality Score

Installation

1. Require plugin with composer:

$ composer require setono/sylius-mailchimp-plugin

2. Import configuration:

imports:
    - { resource: "@SetonoSyliusMailchimpPlugin/Resources/config/config.yml" }

3. Import routing:

setono_sylius_mailchimp:
    resource: "@SetonoSyliusMailchimpPlugin/Resources/config/routing.yml"

4. Add plugin class to your bundles.php:

$bundles = [
    new Setono\SyliusMailchimpPlugin\SetonoSyliusMailchimpPlugin(),
];

5. Update your database:

$ php bin/console doctrine:migrations:diff
$ php bin/console doctrine:migrations:migrate

6. Install assets:

$ php bin/console assets:install

7. Clear cache:

$ php bin/console cache:clear

8. Activate cron job

$ php bin/console setono:mailchimp:export

Testing

$ composer install
$ cd tests/Application
$ yarn install
$ yarn run gulp
$ bin/console assets:install -e test
$ bin/console doctrine:database:create -e test
$ bin/console doctrine:schema:create -e test
$ bin/console server:run 127.0.0.1:8080 -e test
$ bin/behat
$ bin/phpspec run

Contribution

Learn more about our contribution workflow on http://docs.sylius.org/en/latest/contributing/.