pft-init man page

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

--publish-host

Remote host where to publish

Defaults to "example.org"

--publish-method

Method used for publishing

Defaults to "rsync+ssh"

--publish-path

Directory on publishing host

Defaults to "/home/dacav/public_html"

--publish-port

Port for connection on publishing host

Defaults to 22

--publish-user

User login on publishing host

Defaults to "dacav"

--site-author

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.html"

--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 name

Defaults to "firefox %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 name

Defaults to "vim %s"

Info

2016-12-27 perl v5.24.1 User Contributed Perl Documentation