diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4342596 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +# 2017-03-09 https://github.com/isaacs/github/issues/170#issuecomment-150489692 +root = true +[*] +indent_size = 4 +indent_style = tab \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..9570ae8 --- /dev/null +++ b/README.md @@ -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 +``` \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..441f2c9 --- /dev/null +++ b/composer.json @@ -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"] +} \ No newline at end of file diff --git a/etc/module.xml b/etc/module.xml new file mode 100644 index 0000000..3b02e99 --- /dev/null +++ b/etc/module.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/registration.php b/registration.php new file mode 100644 index 0000000..6d722b3 --- /dev/null +++ b/registration.php @@ -0,0 +1,3 @@ +