Welcome! To help test, your first step will be to set up a test environment.
- If you already have hosting setup for a site you own, consider asking your web host how to add an additional site in a subdomain or subfolder for testing purposes. Each host may have different options, and they should be able to help advise you.
- If you have a small budget to work with, setting up additional hosting to use for testing is helpful because it also helps to diversify tests in varying different environments.
- You can go to https://wordpress.org/hosting/ to see a list of recommended hosts.
Use this option if you would like to test pull requests or if you would like to check if something is working with the bleeding edge version.
- Make sure you have
git
,node
, andnpm
installed. - Install
docker
. - Clone the
gutenberg
repository locally. - Run
bin/setup-local-env.sh
from the root directory of the repository. - Run
npm run dev
from the root directory of the repository. - Open
localhost:8888
in your browser (username:admin
, password:password
).
Need more detailed installation instructions? Please see Contributing in the documentation.
Use this option to do general testing with the latest beta or release candidate versions of the Gutenberg editor:
- Go to https://github.com/WordPress/gutenberg/releases. Note: you may need to scroll through several pages of dependencies.
- Download the latest
gutenberg.zip
file. - Go to WP Admin > Plugins > Add New > Upload Plugin.
- Select the file from step 2.
- Follow the prompts to install and activate the plugin.
All of these commands are intended to be run from Terminal, in your Gutenberg directory.
Running npm install
occasionally is a useful habit, as well as any time you know that packages.json
has been changed.
If you restart your computer, or upgrade Docker, start the Gutenberg containers again by running: docker-compose up -d
It’s a good practice to stop (with Ctrl+C
) npm run dev
and restart when you switch to a different branch.
If everything is broken, and you have no idea what’s happened, run bin/setup-local-env.sh
again to reset everything to a fresh install.
Thank you for testing!