-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
0 parents
commit 95fd8af
Showing
5 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
A custom image processing module for [tradefurniturecompany.co.uk](https://www.tradefurniturecompany.co.uk) (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 | ||
composer require tradefurniturecompany/image:* | ||
bin/magento setup:upgrade | ||
bin/magento cache:enable | ||
rm -rf var/di var/generation generated/* | ||
bin/magento setup:di:compile | ||
rm -rf pub/static/* | ||
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 | ||
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/image | ||
rm -rf composer.lock | ||
composer clear-cache | ||
composer require tradefurniturecompany/image:* | ||
bin/magento setup:upgrade | ||
bin/magento cache:enable | ||
rm -rf var/di var/generation generated/* | ||
bin/magento setup:di:compile | ||
rm -rf pub/static/* | ||
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 | ||
sudo service php-fpm start | ||
sudo service nginx start | ||
bin/magento maintenance:disable | ||
sudo service crond start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "tradefurniturecompany/image" | ||
,"version": "0.0.1" | ||
,"description": "A custom image processing module for tradefurniturecompany.co.uk (Magento 2)" | ||
,"type": "magento2-module" | ||
,"homepage": "https://github.com/tradefurniturecompany/image" | ||
,"license": "MIT" | ||
,"authors": [{ | ||
"name": "Dmitry Fedyuk" | ||
,"email": "admin@mage2.pro" | ||
,"homepage": "https://mage2.pro/users/dmitry_fedyuk" | ||
,"role": "Developer" | ||
}] | ||
,"require": {"mage2pro/core": ">=6.9.9"} | ||
,"autoload": {"files": ["registration.php"], "psr-4": {"TFC\\Image\\": ""}} | ||
,"keywords": ["Magento 2"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?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_Image' setup_version='0.0.1'> | ||
<sequence> | ||
<module name='Df_Core'/> | ||
</sequence> | ||
</module> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_Image', __DIR__); |