Roller
Additional Dependencies
This importer requires the following additional libraries.
You may install the needed gems individually by running gem install GEM_NAME
or install all of them
with a single invocation:gem install safe_yaml sequel unidecode
This importer only converts your posts and creates YAML front-matter. It does not import any layouts, styling, or external files (images, CSS, etc).
Invocation
Sample snippet to invoke the importer:
jekyll-import roller --dbname DB --user USER --password PW --socket SOCKET --host HOST --port PORT --clean_entities --comments --categories --tags --status STATUS,STATUS2
Option <PARAM> | Description | ||
---|---|---|---|
--dbname DB |
Database name. |
||
--user USER |
Database user name. |
||
--password PW |
Database user’s password. |
||
--socket SOCKET |
Database socket. |
Default: null |
|
--host HOST |
Database host name. |
Default: 'localhost' |
|
--port PORT |
Database port number. |
Default: '3306' |
|
--clean_entities |
Whether to clean entities. |
Default: true |
|
--comments |
Whether to import comments. |
Default: true |
|
--categories |
Whether to import categories. |
Default: true |
|
--tags |
Whether to import tags. |
Default: true |
|
--status STATUS,STATUS2 |
Array of allowed statuses (either [‘PUBLISHED’] or [‘DRAFT’]). |
Default: ['PUBLISHED'] |