summaryrefslogtreecommitdiffhomepage
path: root/readme.mdown
diff options
context:
space:
mode:
author_Tradam <[email protected]>2025-09-09 16:18:52 +0900
committer_Tradam <[email protected]>2025-09-09 16:18:52 +0900
commita206493f3b3460e21353cea5477eebbcc10c0301 (patch)
tree4c1e9afefded5e1c8524da82f83bdc447858dd9f /readme.mdown
downloadwordpress-docker-a206493f3b3460e21353cea5477eebbcc10c0301.tar.gz
wordpress-docker-a206493f3b3460e21353cea5477eebbcc10c0301.zip
init
Diffstat (limited to 'readme.mdown')
-rw-r--r--readme.mdown25
1 files changed, 25 insertions, 0 deletions
diff --git a/readme.mdown b/readme.mdown
new file mode 100644
index 0000000..387e992
--- /dev/null
+++ b/readme.mdown
@@ -0,0 +1,25 @@
+# WordPress Docker Developer Environment
+
+This is an easy to start environment designed for developing for WordPress. It spins up PHP, MySQL, and Nginx in an automated way.
+
+## Usage
+
+### Quickstart
+
+1. Download [WordPress](https://wordpress.org/latest.zip) and extract it into the top level of this Git repository. Name the directory wordpress.
+
+2. Run `docker-compose up -d --build` to build and start the server in the background. This runs WordPress on port 80 and 443.
+
+### Close
+
+- Run `docker-compose down`
+- To do a reset: `docker-compose down --volumes`
+
+### wp-cli
+
+- To use wp-cli: `docker-compose run --rm wp user list`
+
+### HTTPS
+ - Create certs using [mkcert](https://github.com/FiloSottile/mkcert) and place them into the nginx/certs directory and name the files `cert.pem` and `cert-key.pem`
+
+