In your project folder you will find a folder called .wordup for the project specific configuration.
The wordup config is located in
.wordup/config.yml. Feel free to change the config.yml file for project specific needs.
The following config file shows all possibilities to customize your project:
- The first user in your config.yml will always be assigned as site owner.
- Changes in configs and fixtures are only visible after executing
Plugins and themes
As you can see in the config.yml, you can add public plugins or themes to your WordPress installation. The plugins or themes are identified with their own slug. On https://wordpress.org/plugins/ and https://wordpress.org/themes/ you can search for the slug, which is always the last part of the projects url.
You also have the option to install plugins/themes from local or remote zip files. This option is useful for projects like https://github.com/wp-graphql/wp-graphql which are not listed in the public WordPress repository.
Users and roles
.wordup/config.yml file you can define various users with different roles, so that you can cover all your project test cases.
You have also the option to add and assign custom user roles to your project.
Because wordup is based on docker-compose, it's possible to extend a project with containers of your choice.
If you want to integrate for example phpMyAdmin,
you just have to create a file called
docker-compose.yml in the root folder of your project, with the following content:
That's it, all your wordup commands will stay the same. But now also phpMyAdmin is running on port 8080, when you start/install your project.
Wordup on linux
On Linux it could be necessary that you have to build the Wordup docker files on your system, because of file permission issues. This can be done with the following command: