Skip to content

a custom Gutenberg block that blockifies the famous Hello Dolly WordPress plugin.

License

Notifications You must be signed in to change notification settings

apexDev37/Gutenblock

Repository files navigation

Gutenblock

a custom block to blockify the famous Hello Dolly, plugin

WordPress + Gutenberg logoHello Dolly

Introduction

Gutenblock is a repository made to get-started with custom blocks targeted for the new WordPress editor, Gutenberg. The custom block was developed locally using docker compose. Choosing the Hello-Dolly plugin is a great way for beginners to get started with block development. Follow the git commit history on how Gutenblock was created. Share any comments, feedback, or inquires. I always love to hear and learn from the community❤

Learn more about developing custom blocks from the official documentation.

Installing / Getting started

This is an overview on the minimal setup needed to get started.

Prerequisites

Follow these tutorials on setting up Docker and Compose on either Mac or Linux. I'd recommend Microsoft's documentation to setup Docker on WSL2 if you're on Windows. Use this guide to install on your host machine Node v14, which is the recommended version in the custom block developer handbook.

Local Setup

The following setup was run on Ubuntu Focal (20.0.4 LTS)

Gutenblock has a single branch main.
You can clone this repo with the following command.

  • Clone repository
    # cd your/desired/target/dir
    $ git clone https://github.com/apexDev37/Gutenblock.git
    $ cd Gutenblock

This will clone the repository to a target dir on your host machine and navigate into its root dir.

Configuration

Before running WordPress with docker compose, configure the required environment variables defined in the ./configuration directory. Example env files are provided to configure the following instances: WordPress, MySQL, and phpMyAdmin.
You can create env files with following code snippet.

  • Create env files
    # ensure your in the project root
    $ cd configuration/
    $ git clone https://github.com/apexDev37/Gutenblock.git
    $ cd Gutenblock

Releases

No releases published

Packages

No packages published

Languages