JDStraughan / wp-docker-boilerplate

A boilerplate setup for running Wordpress locally in Docker with large file upload override baked in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wordpress Docker Wrapper

A simple setup to develop on Wordpress locally w/ php.ini override for larger file uploads

Getting Started

Install Docker. Copy this repo into your new repo. Run Docker.

Prerequisites

You need Docker

Get Docker at https://docs.docker.com/get-docker

Lift Off

Git Submodule Method

  1. Create the folder you want to build your site in
  2. Open a terminal window in that folder
  3. Initialize your new git repo: git init
  4. Add this repo as a submodule: git submodule add https://github.com/JDStraughan/wp-docker-boilerplate.git
  5. Symlink the docker-compose.yml file: ln -s ./wp-docker-boilerplate/docker-compose.yml docker-compose.yml ln -s ./wp-docker-boilerplate/uploads.ini uploads.ini
  6. Run docker compose up
  7. Visit localhost:8000 in your browser
  8. ???
  9. Profit

Copy Pasta Method

  1. Create the folder you want to build your site in
  2. Copy these files in the folder from #1
  3. cd into your new folder
  4. Run docker compose up
  5. Visit localhost:8000 in your browser
  6. ???
  7. Profit

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Jason Straughan - @jdstraughan - jdstraughan@gmail.com

About

A boilerplate setup for running Wordpress locally in Docker with large file upload override baked in

License:MIT License