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 Jan 12, 2020
0 parents commit 7bbbb10
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 2017-03-09
# https://github.com/isaacs/github/issues/170#issuecomment-150489692
root = true
[*]
indent_size = 4
indent_style = tab
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
A custom module for [tingle.com](https://tingle.com) (Magento 2).

## How to install
```
bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer require tingle.com/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 -f
bin/magento maintenance:disable
```

## How to upgrade
```
bin/magento maintenance:enable
composer remove tingle.com/core
rm -rf composer.lock
composer clear-cache
composer require tingle.com/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 -f
bin/magento maintenance:disable
```
16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "tingle.com/core"
,"version": "0.0.1"
,"description": "A custom module for tingle.com (Magento 2)"
,"type": "magento2-module"
,"homepage": "https://github.com/tingle-com/core"
,"license": "MIT"
,"authors": [{
"name": "Dmitry Fedyuk"
,"email": "admin@mage2.pro"
,"homepage": "https://mage2.pro/users/dmitry_fedyuk"
,"role": "Developer"
}]
,"autoload": {"files": ["registration.php"], "psr-4": {"Tingle\\Core\\": ""}}
,"keywords": ["Magento 2"]
}
11 changes: 11 additions & 0 deletions etc/module.xml
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='Tingle_Core' setup_version='0.0.1'>
<sequence>
<module name='Magento_Checkout'/>
</sequence>
</module>
</config>
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, 'Tingle_Core', __DIR__);

0 comments on commit 7bbbb10

Please sign in to comment.