How to install

This documentation is not for the latest version Pacemaker version. Click here to switch to version 1.2

Before you begin the install, you need a running Magento 2 instance. Please refer Magento’s documentation: [Install Magento using Composer](https://devdocs.magento.com/guides/v2.3/install-gde/composer.html). You need also to install RabbitMQ and configure it for your Magento instance. Refer the [article from Magento’s DevDocs](https://devdocs.magento.com/guides/v2.3/install-gde/prereq/install-rabbitmq.html).

Install Pacemaker via Composer

After purchasing a Pacemaker license you will receive a username and password from our support team. You need to enter these credentials to the auth.json file of your Magento instance. If you didn’t use this file before, you’ll find an auth.json.sample file, just copy it as auth.json.

Enter our repository (gitlab.met.tdintern.de), your username and password as following into the http-basic section of your auth.json file.

{
   "http-basic": {
      "repo.magento.com": {
         "username": "...",
         "password": "..."
      },
      "gitlab.met.tdintern.de": {
         "username": "<YOUR-TOKEN-USER>",
         "password": "<YOUR-TOKEN-PASS>"
      }
   }
}

Register the repository

After adding the credentials you need to register the repository as a possible source. Therefore you need to run the following command or add the repository manually into your composer.json file.

Commandline registration

composer config repositories.repo.met.tdintern.de composer https://repo.met.tdintern.de/

(Optional) Manual entry in composer.json

...
"repositories": {
"repo.met.tdintern.de": {
  "type": "composer",
  "url": "https://repo.met.tdintern.de/"
},
"repo.magento.com": {
  "type": "composer",
  "url": "https://repo.magento.com/"
}
...

Install the module

Now you can run composer require techdivision/pacemaker="1.1.*" in order to install the module.