The easiest way to get started is using VS Code Dev Containers or GitHub Codespaces:
- Install VS Code and the Dev Containers extension
git clone https://github.com/benbalter/wordpress-to-jekyll-exporter- Open the folder in VS Code
- Click "Reopen in Container" when prompted
- Wait for the container to build and dependencies to install
- Access WordPress at
http://localhost:8088
The devcontainer includes:
- Pre-configured WordPress and MySQL
- All PHP extensions and Composer dependencies
- VS Code extensions for PHP development, debugging, and testing
- WordPress coding standards configured
See .devcontainer/README.md for more details.
sudo apt-get updatesudo apt-get install composersudo apt-get install php7.3-xmlsudo apt-get install php7.3-mysqlsudo apt-get install php7.3-zipsudo apt-get install php-mbstringsudo apt-get install subversionsudo apt-get install mysql-serversudo apt-get install php-pearsudo pear install PHP_CodeSniffer
git clone https://github.com/benbalter/wordpress-to-jekyll-exportercd wordpress-to-jekyll-exporterscript/bootstrapscript/setup
git clone https://github.com/benbalter/wordpress-to-jekyll-exporterdocker-compose upopen localhost:8088
script/cibuild