From 8aba1b546475085d81f31abb0667635f0566321b Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Sat, 2 Nov 2019 16:13:50 +0600 Subject: [PATCH] 0.0.1 --- .editorconfig | 6 ++++++ README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ composer.json | 17 +++++++++++++++++ etc/module.xml | 7 +++++++ registration.php | 3 +++ 5 files changed, 79 insertions(+) create mode 100644 .editorconfig create mode 100644 README.md create mode 100644 composer.json create mode 100644 etc/module.xml create mode 100644 registration.php diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c5f261a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +# 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..74183fa --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +A custom module for [royalwholesalecandy.com](https://royalwholesalecandy.com) (Magento 2). + +## How to install +``` +bin/magento maintenance:enable +rm -rf composer.lock +composer clear-cache +composer require royalwholesalecandy/core:* +bin/magento setup:upgrade +rm -rf var/di var/generation generated/code +bin/magento setup:di:compile +bin/magento cache:enable +rm -rf pub/static/* +bin/magento setup:static-content:deploy \ + --area adminhtml \ + --theme Magento/backend \ + -f en_US +bin/magento setup:static-content:deploy \ + --area frontend \ + --theme bs_eren/bs_eren3 \ + -f en_US +bin/magento maintenance:disable +``` + +## How to upgrade +``` +bin/magento maintenance:enable +composer remove royalwholesalecandy/core +rm -rf composer.lock +composer clear-cache +composer require royalwholesalecandy/core:* +bin/magento setup:upgrade +rm -rf var/di var/generation generated/code +bin/magento setup:di:compile +bin/magento cache:enable +rm -rf pub/static/* +bin/magento setup:static-content:deploy \ + --area adminhtml \ + --theme Magento/backend \ + -f en_US +bin/magento setup:static-content:deploy \ + --area frontend \ + --theme bs_eren/bs_eren3 \ + -f en_US +bin/magento maintenance:disable +``` \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..6682b22 --- /dev/null +++ b/composer.json @@ -0,0 +1,17 @@ +{ + "name": "royalwholesalecandy/core" + ,"version": "0.0.1" + ,"description": "A custom module for royalwholesalecandy.com (Magento 2)" + ,"type": "magento2-module" + ,"homepage": "https://github.com/royalwholesalecandy/core" + ,"license": "MIT" + ,"authors": [{ + "name": "Dmitry Fedyuk" + ,"email": "admin@mage2.pro" + ,"homepage": "https://mage2.pro/users/dmitry_fedyuk" + ,"role": "Developer" + }] + ,"require": {"mage2pro/core": ">=5.4.2"} + ,"autoload": {"files": ["registration.php"], "psr-4": {"RWCandy\\Core\\": ""}} + ,"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..ecdce51 --- /dev/null +++ b/etc/module.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/registration.php b/registration.php new file mode 100644 index 0000000..d652c80 --- /dev/null +++ b/registration.php @@ -0,0 +1,3 @@ +