Skip to content

Commit 89aecce

Browse files
authored
Merge pull request #51 from BitBagCommerce/fix/installation-manual
Update installation guide
2 parents 3afeab1 + b7bcc66 commit 89aecce

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ jobs:
6161
-
6262
name: Output PHP version for Symfony CLI
6363
run: php -v | head -n 1 | awk '{ print $2 }' > .php-version
64-
65-
-
66-
name: Install certificates
67-
run: symfony server:ca:install
68-
64+
6965
-
7066
name: Run Chrome Headless
7167
run: google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1 > /dev/null 2>&1 &

behat.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ default:
2020

2121
Behat\MinkExtension:
2222
files_path: "%paths.base%/vendor/sylius/sylius/src/Sylius/Behat/Resources/fixtures/"
23-
base_url: "https://127.0.0.1:8080/"
23+
base_url: "http://127.0.0.1:8080/"
2424
default_session: symfony
2525
javascript_session: panther
2626
sessions:

composer.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@
5353
"dealerdirect/phpcodesniffer-composer-installer": false,
5454
"phpstan/extension-installer": true,
5555
"symfony/flex": true
56+
},
57+
"audit": {
58+
"ignore": [
59+
"PKSA-gs8r-6kz6-pp56",
60+
"PKSA-gnn4-pxdg-q76m",
61+
"PKSA-yhcn-xrg3-68b1",
62+
"PKSA-2wrf-1xmk-1pky",
63+
"PKSA-4g5g-4rkv-myqs"
64+
]
5665
}
5766
},
5867
"extra": {

doc/installation.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@
1212
MESSENGER_USER_COM_ASYNCHRONOUS_DSN=""
1313
```
1414
- You can find the `USER_COM_FRONTEND_API_KEY` in the User.Com integration guide for `Google Tag Manager (Settings->Setup & Integrations)`.
15-
- `USER_COM_COOKIE_DOMAIN` is optional, if not set, cookies will be set for the current domain.
15+
- `USER_COM_ENCRYPTION_KEY` and `USER_COM_ENCRYPTION_IV` are required for cookie encryption.
16+
- You can generate the encryption key and IV using the following command:
17+
```bash
18+
php -r '$key = bin2hex(random_bytes(16)); echo "USER_COM_ENCRYPTION_KEY=\"" . $key . "\"\n"; $iv = bin2hex(random_bytes(8)); echo "USER_COM_ENCRYPTION_IV=\"" . $iv . "\"\n";'
19+
```
20+
- `MESSENGER_USER_COM_ASYNCHRONOUS_DSN` is the DSN for the messenger transport that will handle asynchronous messages. You can use different transports like `doctrine://default`, `amqp://guest:guest@localhost:5672/%2f/messages`, etc.
21+
22+
- `USER_COM_COOKIE_DOMAIN` is optional, if not set, cookies will be set for the current domain.
1623

1724

1825
3. Add plugin dependencies to `config/bundles.php` file. Make sure that none of the bundles are duplicated.

ecs.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
VisibilityRequiredFixer::class => ['*Spec.php'],
1919
]);
2020
};
21-

0 commit comments

Comments
 (0)