Skip to content

Latest commit

 

History

History

wordpress

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Wordpress Dev Environment

This is a dev environment for testing out the talk-wp-plugin with Coral.

Usage

  • Spin up the mysql and wordpress containers:

    cd wordpress
    docker-compose up
    
  • Close the terminal after docker-compose runs

  • Spin up Coral and add http://localhost:8081 to a new or existing site so the new Wordpress URL is allowed.

  • Navigate to http://localhost:8081.

  • Follow the steps to create a new admin user for the wordpress deployment.

  • Install the plugin from talk-wp-plugin by downloading the source code and zipping it up into a .zip archive.

  • Navigate to http://localhost:8081/wp-admin/plugins.php and click Add New Plugin.

  • From there, click Upload Plugin.

  • Point it to the talk-wp-plugin archive you created from its source code.

  • Enable the Coral plugin in the Installed Plugins list if it is not already enabled.

  • Go to Settings > Coral Settings and set the Server Base URL to http://localhost:3000 or http://localhost:8080 based on whether you're running Coral standalone or in watch mode.

  • Set the Coral stream version to v5+.

  • Head to Appearance > Themes and select the oldest theme you can find (Twenty Twenty-Two as of this writing) as the Coral plugin can't override the PHP for comments in newer themes yet.