Skip to content

Commit 8576688

Browse files
authored
Update shopware.php (#4090)
1 parent 8bebebd commit 8576688

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

recipe/shopware.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* ```php
1313
* host('SSH-HOSTNAME')
1414
* ->set('remote_user', 'SSH-USER')
15-
* ->set('deploy_path', '/var/www/shopware') // This is the path, where deployer will create its directory structure
16-
* ->set('http_user', 'www-data') // Not needed, if the `user` is the same user, the webserver is running with
15+
* ->set('deploy_path', '/var/www/shopware') // This is the path where deployer will create its directory structure
16+
* ->set('http_user', 'www-data') // Not needed, if the `user` is the same, the web server is running with
1717
* ->set('http_group', 'www-data')
1818
* ->set('writable_mode', 'chmod')
1919
* ->set('writable_recursive', true)
@@ -50,6 +50,7 @@
5050
'files',
5151
'var/log',
5252
'public/media',
53+
'public/plugins'
5354
'public/thumbnail',
5455
'public/sitemap',
5556
]);
@@ -65,13 +66,14 @@
6566
'public/fonts',
6667
'public/js',
6768
'public/media',
69+
'public/plugins'
6870
'public/sitemap',
6971
'public/theme',
7072
'public/thumbnail',
7173
'var',
7274
]);
7375

74-
// This sets the shopware version to the version of the shopware console command.
76+
// This sets the Shopware version to the version of the Shopware console command.
7577
set('shopware_version', function () {
7678
$versionOutput = run('cd {{release_path}} && {{bin/console}} -V');
7779
preg_match('/(\d+\.\d+\.\d+\.\d+)/', $versionOutput, $matches);
@@ -111,7 +113,7 @@
111113
run('cd {{release_path}} && {{bin/console}} theme:refresh');
112114
});
113115

114-
// This task is not used per default, but can be used, e.g. in combination with `SHOPWARE_SKIP_THEME_COMPILE=1`,
116+
// This task is not used by default, but can be used, e.g. in combination with `SHOPWARE_SKIP_THEME_COMPILE=1`,
115117
// to build the theme remotely instead of locally.
116118
task('sw:theme:compile', function () {
117119
run('cd {{release_path}} && {{bin/console}} theme:compile');

0 commit comments

Comments
 (0)