Skip to content

Commit 079c46f

Browse files
0.0.1
0 parents  commit 079c46f

File tree

5 files changed

+64
-0
lines changed

5 files changed

+64
-0
lines changed

.editorconfig

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 2017-03-09
2+
# https://github.com/isaacs/github/issues/170#issuecomment-150489692
3+
root = true
4+
[*]
5+
indent_size = 4
6+
indent_style = tab

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
A custom module for [kingpalm.com](https://kingpalm.com).
2+
3+
## How to install
4+
```
5+
bin/magento maintenance:enable
6+
composer clear-cache
7+
composer require kingpalm/core:*
8+
bin/magento setup:upgrade
9+
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile
10+
rm -rf pub/static/* && bin/magento setup:static-content:deploy -f en_US --area adminhtml --theme Magento/backend && bin/magento setup:static-content:deploy -f en_US --area frontend --theme Magento/kingpalm
11+
bin/magento maintenance:disable
12+
bin/magento cache:enable
13+
```
14+
15+
## How to upgrade
16+
```
17+
bin/magento maintenance:enable
18+
rm -rf composer.lock
19+
composer clear-cache
20+
composer update kingpalm/core
21+
bin/magento setup:upgrade
22+
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile
23+
rm -rf pub/static/* && bin/magento setup:static-content:deploy -f en_US --area adminhtml --theme Magento/backend && bin/magento setup:static-content:deploy -f en_US --area frontend --theme Magento/kingpalm
24+
bin/magento maintenance:disable
25+
bin/magento cache:enable
26+
```
27+
28+
If you have problems with these commands, please check the [detailed instruction](https://mage2.pro/t/263).

composer.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "thesuitdepot/core"
3+
,"version": "0.0.1"
4+
,"description": "A custom module for thesuitdepot.com"
5+
,"type": "magento2-module"
6+
,"homepage": "https://github.com/thesuitdepot/core"
7+
,"license": "MIT"
8+
,"authors": [{
9+
"name": "Dmitry Fedyuk"
10+
,"email": "[email protected]"
11+
,"homepage": "https://mage2.pro/users/dmitry_fedyuk"
12+
,"role": "Developer"
13+
}]
14+
,"autoload": {"files": ["registration.php"], "psr-4": {"TheSuitDepot\\Core\\": ""}}
15+
,"keywords": ["Magento 2"]
16+
}

etc/module.xml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version='1.0'?>
2+
<config
3+
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
4+
xsi:noNamespaceSchemaLocation='urn:magento:framework:Module/etc/module.xsd'
5+
>
6+
<module name='TheSuitDepot_Core' setup_version='0.0.1'>
7+
<sequence>
8+
<module name='Magestore_Webpos'/>
9+
</sequence>
10+
</module>
11+
</config>

registration.php

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
use Magento\Framework\Component\ComponentRegistrar as R;
3+
R::register(R::MODULE, 'TheSuitDepot_Core', __DIR__);

0 commit comments

Comments
 (0)