A simple setup to develop on Wordpress locally w/ php.ini
override for larger file uploads
Install Docker. Copy this repo into your new repo. Run Docker.
You need Docker
Get Docker at https://docs.docker.com/get-docker
- Create the folder you want to build your site in
- Open a terminal window in that folder
- Initialize your new git repo:
git init
- Add this repo as a submodule:
git submodule add https://github.com/JDStraughan/wp-docker-boilerplate.git
- 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
- Run
docker compose up
- Visit
localhost:8000
in your browser - ???
- Profit
- Create the folder you want to build your site in
- Copy these files in the folder from #1
- cd into your new folder
- Run
docker compose up
- Visit
localhost:8000
in your browser - ???
- Profit
Distributed under the MIT License. See LICENSE.txt
for more information.
Jason Straughan - @jdstraughan - jdstraughan@gmail.com