devowl-wp

devowl.io Workplace

Getting started

Installation is done for you as soon as you open the terminal within VSCode.

Commands

Some often-used commands are provided via the native VSCode tasks view. Just open the Command Pallete, delete the > character and type in task (with space!). All other commands are available in the package.json#scripts section.

Domain prefixes of services

Each domain prefix must be prefixed to the FQDN of the host running the containers (e.g. host ci-runner-x.owlsrv.de and domain prefix commerce. becomes commerce.ci-runner-x.owlsrv.de).

Description Environment Docker service Domain prefix
WordPress Plugins Development wordpress wordpress.
Real Product Manager (Backend) Development real_product_manager license.
Real Commerce (Backend) Development real_commerce commerce.
Real Cookie Banner (Backend) Development real_cookie_banner_backend rcb.
phpMyAdmin Development phpmyadmin pma.
phpRedisAdmin Development phpredisadmin pra.
Static files of the complete workspace Development miniserve files.

Available package workspaces

Package type Allow side effects* Description
dev-packages No Packages, which are needed only for development purposes within this monorepo
api-packages No API interfaces and types, which can be consumed by backends and frontends
backend-packages No Logic, which can be consumed by backends
wordpress-packages No WordPress-specific packages with PHP and TS coding which can be consumed by wordpress-plugins
frontend-packages No Logic, which can be consumed by different types of frontends in different ecosystems
isomorphic-packages No Logic, which can be consumed anywhere and independent of the ecosystem (e.g. package provides logic for PHP and JavaScript) with feature-parity
frontends Yes Dockerized frontends (e.g. create-react-app)
backends Yes Dockerized backend services
wordpress-plugins Yes WordPress-specific plugins with PHP and TS coding

* Side effects: A side-effect free file does not execute code at import time, instead it only exports types, interfaces and reusable components. A side effect e.g. is starting a webserver in the main file.