- In WordPress Settings, set permalinks to post name.
- Install the Basic Auth Plugin to WordPress
- Install the required packages:
pip3 install -r requirements.txt - Copy
config.template.jsontoconfig.jsonand fill in the details.
This tool does not handle:
- Checking for post existence. Therefore, multiple CLI calls with the same parameters will yield the multiple of the same posts.
python3 /path/to/jekyll-to-wordpress/main.py --file /path/to/file.md
python3 /path/to/jekyll-to-wordpress/main.py --directory /path/to/_posts