-
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.
- Loading branch information
0 parents
commit 7a25211
Showing
7 changed files
with
91 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,6 @@ | ||
# 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,48 @@ | ||
A custom module for [julio.com](https://julio.com) (Magento 2). | ||
|
||
## How to install | ||
``` | ||
bin/magento maintenance:enable | ||
rm -rf composer.lock | ||
composer clear-cache | ||
composer require julio.com/core:* | ||
bin/magento setup:upgrade | ||
rm -rf var/di var/generation generated/code | ||
bin/magento setup:di:compile | ||
rm -rf pub/static/* | ||
bin/magento setup:static-content:deploy \ | ||
--area adminhtml \ | ||
--theme Magento/backend \ | ||
-f en_US es_MX | ||
bin/magento setup:static-content:deploy \ | ||
--area frontend \ | ||
--theme Mgs/claue \ | ||
-f en_US es_MX | ||
bin/magento maintenance:disable | ||
bin/magento cache:enable | ||
``` | ||
|
||
## How to upgrade | ||
``` | ||
bin/magento maintenance:enable | ||
composer remove julio.com/core | ||
rm -rf composer.lock | ||
composer clear-cache | ||
composer require julio.com/core:* | ||
bin/magento setup:upgrade | ||
rm -rf var/di var/generation generated/code | ||
bin/magento setup:di:compile | ||
rm -rf pub/static/* | ||
bin/magento setup:static-content:deploy \ | ||
--area adminhtml \ | ||
--theme Magento/backend \ | ||
-f en_US es_MX | ||
bin/magento setup:static-content:deploy \ | ||
--area frontend \ | ||
--theme Mgs/claue \ | ||
-f en_US es_MX | ||
bin/magento maintenance:disable | ||
bin/magento cache:enable | ||
``` | ||
|
||
If you have problems with these commands, please check the [detailed instruction](https://mage2.pro/t/263). |
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": "julio.com/core" | ||
,"version": "0.0.1" | ||
,"description": "A custom module for julio.com (Magento 2)" | ||
,"type": "magento2-module" | ||
,"homepage": "https://github.com/julio-com/core" | ||
,"license": "MIT" | ||
,"authors": [{ | ||
"name": "Dmitry Fedyuk" | ||
,"email": "admin@mage2.pro" | ||
,"homepage": "https://mage2.pro/users/dmitry_fedyuk" | ||
,"role": "Developer" | ||
}] | ||
,"require": {"mage2pro/core": ">=5.0.0"} | ||
,"autoload": {"files": ["registration.php"], "psr-4": {"Julio\\Core\\": ""}} | ||
,"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,7 @@ | ||
<?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='Julio_Core' setup_version='0.0.1'/> | ||
</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, 'Julio_Core', __DIR__); |
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,8 @@ | ||
<?xml version='1.0'?> | ||
<page | ||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | ||
xsi:noNamespaceSchemaLocation='urn:magento:framework:View/Layout/etc/page_configuration.xsd' | ||
> | ||
<!-- 2019-07-30 The Claue theme does not load `_module.less` files. --> | ||
<head><css src='Julio_Core::main.css'/></head> | ||
</page> |
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,2 @@ | ||
// 2019-08-10 «Add a logo to the header»: https://github.com/julio-com/core/issues/2 | ||
@media (min-width: 1200px) {html.use-header10 .header .logo-left-header {margin-left: 2em;}} |