Skip to content

PostgreSQL-For-Wordpress/PG4WP-Local-Development

Repository files navigation

PG4WP Local Development Environment

⚠️WARNING⚠️ This is only meant as a local development environment.
Please do not use this as a reference configuration for a production deployment

dev.mp4

Prerequisties

Install docker-compose or podman-compose + docker dependencies

Bundled Dependencies

Postgres 14
PHP FPM with required extensions
NGINX

Getting Started

Clone this repo

git clone --recurse-submodules [email protected]:PostgreSQL-For-Wordpress/PG4WP-Local-Development.git

In 1 tab, Start the background services

docker-compose up nginx php-fpm db

In another tab, Start the test runner

docker-compose up php-cli

In another tab, Enter the php-fpm container

docker-compose exec php-fpm /bin/sh

Perform the 1 time install

wp --allow-root core install --url=http://wordpress.localhost --title="Wordpress Local Dev" --admin_user=root --admin_email="[email protected]" --admin_password=secret

To see your site

Navigate to http://wordpress.localhost

To log in and view the dashboard using username root and password "secret"

Navigate to http://wordpress.localhost/wp-admin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published