Skip to content

Commit

Permalink
0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Dec 6, 2022
0 parents commit d424035
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 2017-03-09 https://github.com/isaacs/github/issues/170#issuecomment-150489692
root = true
[*]
indent_size = 4
indent_style = tab
17 changes: 17 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "tradefurniturecompany/realex"
,"version": "0.0.1"
,"description": "Modifications of the `realexpayments/hpp` module (Magento 2)"
,"type": "magento2-module"
,"homepage": "https://github.com/tradefurniturecompany/realex"
,"license": "MIT"
,"authors": [{
"name": "Dmitrii Fediuk"
,"email": "admin@mage2.pro"
,"homepage": "https://www.upwork.com/fl/mage2pro"
,"role": "Developer"
}]
,"require": {"mage2pro/core": "<8.1.0", "realexpayments/hpp": ">=3.3.9"}
,"autoload": {"files": ["registration.php"], "psr-4": {"TFC\\Realex\\": ""}}
,"keywords": ["Magento 2", "Global Payments", "Realex"]
}
12 changes: 12 additions & 0 deletions etc/module.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version='1.0'?>
<config
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='urn:magento:framework:Module/etc/module.xsd'
>
<module name='TFC_Realex' setup_version='0.0.1'>
<sequence>
<module name='Df_Core'/>
<module name='RealexPayments_HPP'/>
</sequence>
</module>
</config>
64 changes: 64 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
Modifications of the [`realexpayments/hpp`](https://marketplace.magento.com/realexpayments-hpp.html) module for the [tradefurniturecompany.co.uk](https://www.tradefurniturecompany.co.uk) website (Magento 2).

## How to install
```
sudo service crond stop
sudo service nginx stop
sudo service php-fpm stop
bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer2 require --ignore-platform-reqs --no-plugins tradefurniturecompany/realex:*
composer update
rm -rf var/di var/generation generated/*
bin/magento setup:upgrade
bin/magento cache:enable
bin/magento setup:di:compile
bin/magento cache:clean
rm -rf pub/static/* var/cache var/page_cache var/view_preprocessed
bin/magento setup:static-content:deploy \
--area adminhtml \
--theme Magento/backend \
-f en_US en_GB
bin/magento setup:static-content:deploy \
--area frontend \
--theme TradeFurnitureCompany/default \
-f en_GB
bin/magento cache:clean
sudo service php-fpm start
sudo service nginx start
bin/magento maintenance:disable
sudo service crond start
```

## How to upgrade
```
sudo service crond stop
sudo service nginx stop
sudo service php-fpm stop
bin/magento maintenance:enable
composer remove tradefurniturecompany/realex
rm -rf composer.lock
composer clear-cache
composer2 require --ignore-platform-reqs --no-plugins tradefurniturecompany/realex:*
composer update
rm -rf var/di var/generation generated/*
bin/magento setup:upgrade
bin/magento cache:enable
bin/magento setup:di:compile
bin/magento cache:clean
rm -rf pub/static/* var/cache var/page_cache var/view_preprocessed
bin/magento setup:static-content:deploy \
--area adminhtml \
--theme Magento/backend \
-f en_US en_GB
bin/magento setup:static-content:deploy \
--area frontend \
--theme TradeFurnitureCompany/default \
-f en_GB
bin/magento cache:clean
sudo service php-fpm start
sudo service nginx start
bin/magento maintenance:disable
sudo service crond start
```
3 changes: 3 additions & 0 deletions registration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
use Magento\Framework\Component\ComponentRegistrar as R;
R::register(R::MODULE, 'TFC_Core', __DIR__);

0 comments on commit d424035

Please sign in to comment.