Skip to content

A boilerplate to quickly start a WordPress theme or plugin development, via Docker.

Notifications You must be signed in to change notification settings

pixeline/wordpress-on-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WordPress via Docker

This repository provides a ready-to-use WordPress setup on Docker, perfect for quickly jumping into a new theme/plugin development.

Theme deployment

It includes 2 starter themes :

Plugin development

It includes an instance of the WordPress Plugin Boilerplate You could also generate one here.

Installation

How-to use it

  • cd to your project folder
  • Start the machine: docker-compose up -d
  • Visit http://localhost:1973/ to see the live local site.
  • Visit http://localhost:8080/ to use PhpMyAdmin and perform database dumps (obligatory in between docker reloads, otherwise you will lose any change in the database).
  • To stop the machine: docker-compose down

Populate the database

If you put a .sql file in the /data folder, it will autopopulate the wordpressdatabase when you fire up docker-compose. So a good idea is to backup your wordpress database as an SQL file into the /datafolder before shutting down docker. You can use phpmyadmin (on localhost:8080) to export the database.

About

A boilerplate to quickly start a WordPress theme or plugin development, via Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published