From 99c1fad12ac4b841bcd92f6652098f560462c92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kali=C5=84ski?= Date: Fri, 30 Aug 2024 14:15:40 +0200 Subject: [PATCH] OP-497 - installation.md has been updated --- README.md | 29 ++++++++++++++---------- doc/installation.md | 55 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 12 deletions(-) create mode 100644 doc/installation.md diff --git a/README.md b/README.md index dc9bc43..f80574a 100644 --- a/README.md +++ b/README.md @@ -41,24 +41,29 @@ 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_payu) -# Functionalities +## Functionalities All main functionalities of the plugin are described [here.](https://github.com/BitBagCommerce/SyliusPayUPlugin/blob/master/doc/functionalities.md) -# Installation +## Installation --- -```bash -$ composer require bitbag/payu-plugin -``` - -Add plugin dependencies to your config/bundles.php file: +### 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.x | + +---- + +### Full installation guide +- [See the full installation guide](doc/installation.md) -```php -return [ - BitBag\SyliusPayUPlugin\BitBagSyliusPayUPlugin::class => ['all' => true], -] -``` ## Customization ---- diff --git a/doc/installation.md b/doc/installation.md new file mode 100644 index 0000000..ef075f1 --- /dev/null +++ b/doc/installation.md @@ -0,0 +1,55 @@ +# 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.x | + +## Composer: +```bash +composer require bitbag/payu-plugin +``` + +## Basic configuration: +Add plugin dependencies to your `config/bundles.php` file: + +```php +# config/bundles.php + +return [ + ... + BitBag\SyliusPayUPlugin\BitBagSyliusPayUPlugin::class => ['all' => true], +]; +``` + +### Clear application cache by using command: +```bash +bin/console cache:clear +``` +**Note:** If you are running it on production, add the `-e prod` flag to this command. + +## Known issues +### Translations not displaying correctly +For incorrectly displayed translations, execute the command: +```bash +bin/console cache:clear +```