1PFT-INIT(1) User Contributed Perl Documentation PFT-INIT(1)
2
3
4
6 pft init - Initialize a PFT Site
7
9 pft init [<configuration options>]
10
12 This command initializes a PFT site in the current directory. It
13 generates a configuration file named "pft.yaml" and it creates the
14 following filesystem structure documented in the main "pft" manual
15 page.
16
17 A sensible configuration skeleton is provided by default, and can be
18 modified by editing the "pft.yaml" configuration file.
19
21 --publish-host
22 Remote host where to publish
23
24 Defaults to "example.org"
25
26 --publish-method
27 Method used for publishing
28
29 Defaults to "rsync+ssh"
30
31 --publish-path
32 Directory on publishing host
33
34 Defaults to "/home/dacav/public_html"
35
36 --publish-port
37 Port for connection on publishing host
38
39 Defaults to 22
40
41 --publish-user
42 User login on publishing host
43
44 Defaults to "dacav"
45
46 --site-author
47 Default author of entries
48
49 Defaults to "dacav"
50
51 --site-encoding
52 Charset of the generated web pages
53
54 Defaults to "UTF-8"
55
56 --site-home
57 First page, where index.html redirects the browsers
58
59 Defaults to "Welcome"
60
61 --site-template
62 Default template for compilation, can be overriden by single
63 entries
64
65 Defaults to "default.html"
66
67 --site-title
68 Title of the website
69
70 Defaults to "My PFT website"
71
72 --site-url
73 Base url for the website
74
75 Defaults to "http://example.org"
76
77 --system-browser
78 Browser to be invoked by "pft show". You may specify an executable,
79 or a shell command where "%s" gets replaced with the file name
80
81 Defaults to "firefox %s"
82
83 --system-editor
84 Editor to be invoked by "pft edit". You may specify an executable,
85 or a shell command where "%s" gets replaced with the file name
86
87 Defaults to "vim %s"
88
89
90
91perl v5.28.1 2017-09-25 PFT-INIT(1)