|
1 | | -# Docker-Compose WordPress |
| 1 | +# EasyEngine Docker-Compose WordPress |
| 2 | +<a href="https://rtcamp.com" target="_blank"><img width="150" src="https://easyengine.io/wp-content/uploads/edd/2015/12/easy-engine-logo-2-RS1.png"></a> |
2 | 3 |
|
3 | | -### Requirements |
| 4 | +WordPress powered by Docker! Now run WordPress anywhere you can install Docker. |
4 | 5 |
|
5 | | -1. [Docker](https://www.docker.com/) |
6 | | -2. [Docker Compose](https://docs.docker.com/compose/install/) |
| 6 | +## Installing / Getting started |
7 | 7 |
|
8 | | -### Examples |
9 | | -1. [Single Site](single-site) - Single wordpress site |
10 | | -2. [Multiple Site](multiple-sites) - Multiple separate wordpress sites |
11 | | -3. [WordPress Multisite](wp-multisite) - WordPress Multisite |
| 8 | +This project depends on |
| 9 | + |
| 10 | +1. [Git](https://git-scm.com/downloads) |
| 11 | +2. [Docker](https://docs.docker.com/engine/installation/) |
| 12 | +3. [Docker Compose](https://docs.docker.com/compose/install/) |
| 13 | + |
| 14 | +_We're working on getting the dependencies installed by the install script. In |
| 15 | +the meantime, please install the dependencies manually._ |
| 16 | + |
| 17 | +This project has an installer script that will install it locally. |
| 18 | + |
| 19 | +You can fetch that script, and then execute it locally. It's well documented so that you can read through it and understand what it is doing before you run it. |
| 20 | + |
| 21 | +```shell |
| 22 | +curl -fsSL https://raw.githubusercontent.com/EasyEngine/docker-compose-wordpress/master/scripts/setup -o setup.sh |
| 23 | +bash setup.sh |
| 24 | +``` |
| 25 | + |
| 26 | +## Usage |
| 27 | + |
| 28 | +1. Create a WordPress site |
| 29 | + |
| 30 | +```shell |
| 31 | +eev4 create example.com --wp |
| 32 | +``` |
| 33 | + |
| 34 | +2. Delete a site |
| 35 | +```shell |
| 36 | +eev4 delete example.com |
| 37 | +``` |
| 38 | + |
| 39 | +3. Use wp-cli with a site |
| 40 | +```shell |
| 41 | +eev4 wp example.com theme list |
| 42 | +``` |
| 43 | + |
| 44 | +Run `eev4 --help` for all commands. |
| 45 | + |
| 46 | +## Configuration |
| 47 | + |
| 48 | +The sites get created at `/var/www`. You can view and change the configuration |
| 49 | +for any of the sites at `/var/www/SITE/config` |
| 50 | + |
| 51 | +Run `eev4 restart SITE` to load new configuration. |
| 52 | + |
| 53 | +## Contributing |
| 54 | + |
| 55 | +If you'd like to contribute, please fork the repository and use a feature |
| 56 | +branch. Pull requests are warmly welcome. |
| 57 | + |
| 58 | +## Licensing |
| 59 | + |
| 60 | +The code in this project is licensed under MIT license. See [Licence](https://github.com/EasyEngine/docker-compose-wordpress/blob/master/LICENSE) |
| 61 | +for more information. |
0 commit comments