Repository for the Kindling WordPress theme by the Matchbox Design Group.
A block theme for WordPress that supports the Full Site Editing features.
Requirements
Installation
git clone [email protected]:matchboxdesigngroup/kindling.git
- Click the "Cloud" icon near the top left of the application.
- Choose your connected Github account and located the repo in the list.
- Click "Clone" and choose the directory (example:
Users/[you]/Sites
) - The repo is now cloned to your computer.
Install Colima and DDEV if you have not already. Colima is an alternative to Docker Desktop.
- Start Colima if it's not already running
Once it is started Colima will always run until you stop it or restart your computer.
colima start
- Start DDEV
If another project is running make sure to run
ddev stop
first
ddev start
Run this from the root of your project. Composer is configured to install WordPress core, some plugins, and the latest default WordPress theme.
# @ project-name/
$ composer install
Yarn for this purpose is similar to using npm or gulp. It grabs the package.json and installs packages and libraries.
In package.json there are several scripts.
yarn build
is generally intended for compiling a site to deploy to production andyarn dev
is intended for local development, adding browsersync to watch for file changes and refresh your browser.
In terminal, change to the kindling theme directory and install the theme's dependencies and compile the CSS and JavaScript:
# @ wp-content/themes/kindling/
$ cd wp-content/themes/kindling/
$ yarn
$ yarn build
# or
$ yarn dev