Skip to content

Commit

Permalink
Update README to include module version number in composer require an…
Browse files Browse the repository at this point in the history
…d sync module version with tag
  • Loading branch information
Eric Wiese committed Dec 29, 2016
1 parent ad7cd67 commit c751801
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ This module can be installed manually or by using Composer (recommended).
### Manual Installation

First, download contents of this repo into `app/code/EW/ConfigScopeHints` using a command similar to the following in the Magento 2 root.
```

```bash
$ mkdir -p app/code/EW # create vendor directory
$ wget https://github.com/ericthehacker/magento2-configscopehints/archive/master.zip # download zip of module contents
$ unzip master.zip -d app/code/EW # unzip module into vendor directory
Expand All @@ -29,13 +30,12 @@ $ php -f bin/magento setup:upgrade

Each of these commands should be run from the command line at the Magento 2 root.

First, add this repository to your `composer.json` by running the following.
```
```bash
# add this repository to your composer.json
$ composer config repositories.magento2-configscopehints git https://github.com/ericthehacker/magento2-configscopehints.git

# require module
$ composer require ericthehacker/magento2-configscopehints
$ composer require ericthehacker/magento2-configscopehints:~2.1

# enable module
$ php -f bin/magento module:enable EW_ConfigScopeHints
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="EW_ConfigScopeHints" setup_version="2.0.0">
<module name="EW_ConfigScopeHints" setup_version="2.1.1">
<sequence>
<module name="Magento_Config"/>
</sequence>
Expand Down

0 comments on commit c751801

Please sign in to comment.