Skip to content

Metaspark-io/docker-wordpress-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Wordpress Boilerplate

Basic WordPress site running with mysql 5.6 on Docker.

Get started

  • Install Docker
  • Start docker
  • $ sudo docker-compose up to create containers
  • Load Database using command below

Default credentials

username: admin
password: password

Load a DB dump

$ ./scripts/restore.sh

Note: If you have issues, make sure the script is executable.

Commiting WordPress changes

If creating a non-code based change to the site e.g. creating a new page via the WordPress GUI:

  • Create a new DB Dump via the command below.
  • Add /database to a fresh commit

Create a DB dump

$ ./scripts/backup.sh

Note: If you have issues, make sure the script is executable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 47.0%
  • CSS 44.3%
  • JavaScript 8.6%
  • Shell 0.1%