Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Commit 32ac0b0

Browse files
rolfosklyonrad
authored andcommitted
documentation of typo3:cms:typoscript:upload_pagets
1 parent 75a23bb commit 32ac0b0

File tree

1 file changed

+29
-11
lines changed

1 file changed

+29
-11
lines changed

rake/dkdeploy-typo3-cms/typoscript.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,31 +49,49 @@ when %r{(Configuration/TypoScript/Constants/Stages/config\.dev\.txt|Configuratio
4949

5050
## upload\_pagets
5151

52+
Uploads PageTS files from local paths prefixed by variable `copy_source`
53+
5254
### Configuration
5355

54-
TODO
56+
Here is an example for a multistage pagets.
5557

56-
### Usage
58+
{% highlight ruby %}
59+
set :typoscript_pagets_paths, 'typo3conf/ext/dkdeploy_extension/Configuration/TypoScript/TSConf'
60+
{% endhighlight %}
5761

58-
TODO
62+
For a stage specific file name set the variable like this:
5963

60-
### Output
64+
{% highlight ruby %}
65+
set :typoscript_pagets_file, 'PageTS.#{fetch(:stage)}.txt'
66+
{% endhighlight %}
6167

62-
TODO
68+
If the parent folder from `typoscript_pagets_paths` on your local environment differ from `htdocs` then it must
69+
be configured:
6370

64-
## merge\_configs
71+
{% highlight ruby %}
72+
set :copy_source, 'custom_htdocs_folder'
73+
{% endhighlight %}
6574

66-
### Configuration
75+
### Usage
6776

68-
TODO
77+
You would usually use this task during development and deployment:
6978

70-
### Usage
79+
{% highlight shell-session %}
80+
cap <stage> typo3:cms:typoscript:upload_pagets
81+
{% endhighlight %}
7182

72-
TODO
7383

7484
### Output
7585

76-
TODO
86+
{% highlight shell-session %}
87+
00:00 typo3:cms:typoscript:upload_pagets
88+
01 mkdir -p /var/www/typo3-cms-standard/htdocs/current/typo3conf/ext/dkdeploy_extension/Configuration/TypoScript/TSConf
89+
✔ 01 vagrant@192.168.156.14 4.011s
90+
Uploading htdocs/typo3conf/ext/dkdeploy_extension/Configuration/TypoScript/TSConf/PageTS.txt to /var/www/typo3-cms-standard/htdocs/current/typo3conf/ext/dkd_customer/Configuration/TypoScript/TSConf/PageTS.txt...
91+
Uploading htdocs/typo3conf/ext/dkdeploy_extension/Configuration/TypoScript/TSConf/PageTS.txt 100.0%
92+
Uploaded htdocs/typo3conf/ext/dkdeploy_extension/Configuration/TypoScript/TSConf/PageTS.txt to /var/www/typo3-cms-standard/htdocs/current/typo3conf/ext/dkd_customer/Configuration/TypoScript/TSConf/PageTS.txt.
93+
{% endhighlight %}
94+
7795

7896
## merge\_pagets
7997

0 commit comments

Comments
 (0)