Skip to content

Commit

Permalink
Merge pull request #23 from BitBagCommerce/OP-507
Browse files Browse the repository at this point in the history
OP-507 - installation.md - new standard
  • Loading branch information
senghe authored Sep 10, 2024
2 parents 383405c + de26f13 commit cdf3d13
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ jobs:
sylius: [~1.12.0, ~1.13.0]
node: [^14.17.x]
mysql: [5.7, 8.0]

exclude:
- sylius: ~1.11.0
symfony: ^6.0

env:
APP_ENV: test
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}"
Expand Down
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,27 @@ This **open-source plugin was developed to help the Sylius community**. If you h

[![](https://bitbag.io/wp-content/uploads/2020/10/button-contact.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_przelewy24)

# Functionalities
## Functionalities

All main functionalities of the plugin are described [here.](https://github.com/BitBagCommerce/SyliusPrzelewy24Plugin/blob/master/doc/functionalities.md)

## Installation
---
### Requirements

```
$ composer require bitbag/przelewy24-plugin
```
We work on stable, supported and up-to-date versions of packages. We recommend you to do the same.

Add plugin dependencies to your `config/bundles.php` file:
| Package | Version |
|---------------|-----------------|
| PHP | \>=8.0 |
| sylius/sylius | 1.12.x - 1.13.x |
| MySQL | \>= 5.7 |
| NodeJS | \>= 14.17.x |

```php
return [
...
----

BitBag\SyliusPrzelewy24Plugin\BitBagSyliusPrzelewy24Plugin::class => ['all' => true],
];
```
### Full installation guide
- [See the full installation guide](doc/installation.md)

## Customization
----
Expand Down
45 changes: 45 additions & 0 deletions doc/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Installation

## Overview:
GENERAL
- [Requirements](#requirements)
- [Composer](#composer)
- [Basic configuration](#basic-configuration)
---
ADDITIONAL
- [Known Issues](#known-issues)
---

## Requirements:
We work on stable, supported and up-to-date versions of packages. We recommend you to do the same.

| Package | Version |
|---------------|-----------------|
| PHP | \>=8.0 |
| sylius/sylius | 1.12.x - 1.13.x |
| MySQL | \>= 5.7 |
| NodeJS | \>= 14.17.x |

## Composer:
```bash
composer require bitbag/przelewy24-plugin
```

## Basic configuration:
Add plugin dependencies to your `config/bundles.php` file:

```php
# config/bundles.php

return [
...
BitBag\SyliusPrzelewy24Plugin\BitBagSyliusPrzelewy24Plugin::class => ['all' => true],
];
```

## Known issues
### Translations not displaying correctly
For incorrectly displayed translations, execute the command:
```bash
bin/console cache:clear
```

0 comments on commit cdf3d13

Please sign in to comment.