Installation
Get a full Planet 4 development environment to your local machine
We are using wp-env
as a base and pulling all necessary themes and plugins so that you can develop for your website more easily.
System Requirements
docker and docker-compose
curl
optional: gcloud
Platform specific steps
Install basic system dependencies:
Install docker and docker-compose. We prefer to install it from upstream, to have the latest version:
Add your user to the docker
group to avoid using sudo
on every command:
Refresh your group membership by running:
To verify that everything works you can just run the hello-world docker container:
Before anything
Clone the develop repo:
Set node version:
Install npm packages:
Check the requirements:
Installation
Install default developer environment with:
For NRO developers, use instead:
Clean up
All commands
Workflow
Themes are installed under
planet4/themes
the theme is usually cloned by the installer and should be modifiable right away
you can add or create any theme in this folder, it will be available in your local instance
Plugins are installed under
planet4/plugins
you can add or create any plugin in this folder, it will be available in your local instance
Resources
Last updated