Skip to content

Commit 7fccda6

Browse files
authored
Merge pull request #16 from BitBagCommerce/hotfix/docs-adjustments
Add info about yarn
2 parents 81c44e1 + 9b1f4c9 commit 7fccda6

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

doc/installation.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Installation
22
1. Add package to your project via composer:
33
```bash
4-
composer require bitbag/user-com-plugin
4+
composer require bitbag/user-com-plugin --no-scripts
55
```
66
2. Add required environment variables to your `.env` file:
77
```dotenv
@@ -61,8 +61,12 @@
6161
enabled: true
6262
```
6363
7. Add api credentials to your channel configuration in admin panel. If you decided to extend different object, please make sure that api credentials are set
64-
8. Configure consumer to run in supervisor or crontab:
64+
8. Run yarn install and yarn build to compile assets, or the alternative solution you use for your project
65+
```bash
66+
yarn install && yarn build
67+
```
68+
9. Configure consumer to run in supervisor:
6569
```bash
6670
bin/console messenger:consume user_com_asynchronous
6771
```
68-
8. While integrating with User.com via GTM, you can use `user_com_customer_info` in browser console to check currently logged in customer data.
72+
10. While integrating with User.com via GTM, you can use `user_com_customer_info` in browser console to check currently logged in customer data.

0 commit comments

Comments
 (0)