Typo (Publify) Importer

This importer depends on the following third-party gems:

  • mysql2
  • pg
  • safe_yaml
  • sequel
You may either install the gem(s) individually by running a command with syntax gem install GEM_NAME or install the required gems in a batch by running the following snippet:
gem install mysql2 pg safe_yaml sequel

Invocation

Sample snippet to invoke the importer:

jekyll import typo --server TYPE --dbname DB --user USER --password PW --host HOST

Option <PARAM>Description
--server TYPE

Server type (‘mysql’ or ‘postgres’).

--dbname DB

Database name.

--user USER

Database user name.

--password PW

Database user’s password.

Default: ''
--host HOST

Database host name.

Default: 'localhost'
Highlighted row(s) in table above indicate required options.

This importer has only been tested with Typo version 4+.