Basic WordPress site running with mysql 5.6 on Docker.
- Install Docker
- Start docker
$ sudo docker-compose up
to create containers- Load Database using command below
username: admin
password: password
$ ./scripts/restore.sh
Note: If you have issues, make sure the script is executable.
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
$ ./scripts/backup.sh
Note: If you have issues, make sure the script is executable.