NAME
pft init - Initialize a PFT Site
SYNOPSYS
pft init [<configuration options>]
DESCRIPTION
This command initializes a PFT site in the current directory. It generates a configuration file named pft.yaml
and it creates the following filesystem structure documented in the main pft
manual page.
A sensible configuration skeleton is provided by default, and can be modified by editing the pft.yaml
configuration file.
CONFIGURATION OPTIONS
- --remote-host
-
Remote host where to publish
Defaults to
example.org
- --remote-method
-
Method used for publishing
Defaults to
rsync+ssh
- --remote-path
-
Directory on publishing host
Defaults to
/home/dacav/public_html
- --remote-port
-
Port for connection on publishing host
Defaults to
22
- --remote-user
-
User login on publishing host
Defaults to
dacav
-
Default author of entries
Defaults to
dacav
- --site-encoding
-
Charset of the generated web pages
Defaults to
UTF-8
- --site-home
-
First page, where index.html redirects the browsers
Defaults to
Welcome
- --site-template
-
Default template for compilation, can be overriden by single entries
Defaults to
default
- --site-title
-
Title of the website
Defaults to
My PFT website
- --site-url
-
Base url for the website
Defaults to
http://example.org
- --system-browser
-
Browser to be invoked by
pft show
. You may specify an executable, or a shell command where "%s" gets replaced with the file nameDefaults to
midori --private %s
- --system-editor
-
Editor to be invoked by
pft edit
. You may specify an executable, or a shell command where "%s" gets replaced with the file nameDefaults to
vim %s