Skip to content

omusico/suitecrm-docker

 
 

Repository files navigation

WordPress Docker

WordPress Docker makes developing for WordPress easy and predictable. It sets up everything for you, so that you can dive straight into developing your plugins and themes without any hassle.

There in a more in-depth blog post is available called Develop WordPress plugins and themes using Docker.

Getting Started

  1. Clone this repostory: git clone --recursive https://github.com/joch/wordpress-docker.git
  2. Copy the provided config file to the WordPress directory: cp wp-config.php wordpress/
  3. Run docker-compose up to start the containers.
  4. Browse to http://[docker ip]:8000/ and you are ready to go! (find the ip using boot2docker ip)

Tmuxp workspace

A predefined workspace is provided to easily get going.

  1. Install tmuxp (sudo pip install tmuxp on a Mac)
  2. Run tmuxp load tmuxp.yml (provided that you have tmux installed)
  3. A tmux session will be started with a vim window located in the plugins directory. The containers are started automatically in the second window.

If you're new to Docker

If you are running boot2docker, you can easily find your Docker IP by running boot2docker ip.

The easiest way to install boot2docker and fig is to use Homebrew and follow these steps:

  1. Install VirtualBox.
  2. Install the software: brew install boot2docker fig.
  3. Create a virtual machine: boot2docker init.
  4. Finally start the virtual machine: boot2docker up.

Acknowledgements

The setup is based on the excellent article Getting started with Fig and WordPress.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 81.2%
  • JavaScript 8.1%
  • Smarty 5.5%
  • CSS 3.3%
  • HTML 1.9%