-
Notifications
You must be signed in to change notification settings - Fork 19
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
Showing
1 changed file
with
34 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,34 @@ | ||
### Local development | ||
|
||
We recommend to use Mark Shust's Docker Configuration for Magento. | ||
You can find it [here](https://github.com/markshust/docker-magento). | ||
|
||
#### 2FA | ||
|
||
Latest Magento version introduces obligatory 2FA for admin panel. | ||
You can disable it by using the `DisableTwoFactorAuth` module which provides the ability to disable two-factor authentication. | ||
You can find it [here](https://github.com/markshust/magento2-module-disabletwofactorauth). | ||
|
||
#### Mounting local module | ||
|
||
Thea easiest way to develop the module is to mount it to the `vendor` directory. | ||
Firstly, you need to install module via composer: | ||
```bash | ||
composer require livechat/module-magento-livechat:@dev | ||
# or if you use magento-docker by Mark Shust | ||
bin/composer require livechat/module-magento-livechat:@dev | ||
``` | ||
|
||
Then, you need to mount the module to the `vendor` directory. | ||
If you use `magento-docker` by Mark Shust, you can edit the `compse.dev.yaml` file like below: | ||
```yaml | ||
services: | ||
app: | ||
volumes: &appvolumes | ||
## Host mounts with performance penalty, only put what is necessary here | ||
- ./src/app/code:/var/www/html/app/code:cached | ||
# ... | ||
- /Users/michalsypko/Sites/magento-livechat:/var/www/html/vendor/livechat/module-magento-livechat:cached | ||
``` | ||
From now, you can follow the official help article for LiveChat module [here](https://www.livechat.com/help/magento-integration-guide/#installation2) and continue the installation process. |