Skip to content

LithiumHosting/apiscp-kb-to-wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApisCP KB Markdown Import to Wordpress

The ApisCP KB is built in markdown and stored in /usr/local/apnscp/docs on your ApisCP Server. Copy that docs folder to your wordpress site and use this script to build out the articles.

Usage

cd /path/to/wordpress
git clone https://github.com/LithiumHosting/apiscp-kb-to-wp.git importer
cp -R /usr/local/apnscp/docs /home/virtual/siteXX/var/www/html/
chown adminxx: /home/virtual/siteXX/var/www/html/docs -R

cd importer
composer install

Edit the file import.php in the importer directory, update the $config section with relevant variables. Then just run php import.php

Contributing

Submit a PR and have fun!

Releases

No releases published

Packages

No packages published

Languages