Typo (Publify) Importer
This importer depends on the following third-party gems:
- mysql2
- pg
- safe_yaml
- sequel
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' |
This importer has only been tested with Typo version 4+.