From ffc7c5fdbef33fb18cabeb3f78898dfab1554279 Mon Sep 17 00:00:00 2001 From: Cold-Egg Date: Wed, 26 Feb 2020 11:09:02 -0500 Subject: [PATCH] update readme --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b4b6d0b..b44829f 100644 --- a/README.md +++ b/README.md @@ -10,20 +10,22 @@ Install a Lightweight WordPress container with OpenLiteSpeed [Edge / Stable] ver ### Prerequisites 1. [Install Docker](https://www.docker.com/) 2. [Install Docker Compose](https://docs.docker.com/compose/) -3. Clone this repository or copy the files from this repository into a new folder: -``` -git clone https://github.com/litespeedtech/ols-docker-env.git -``` ## Configuration Edit the `.env` file to update the demo site domain, default MySQL user, and password. ## Installation +Clone this repository or copy the files from this repository into a new folder: +``` +git clone https://github.com/litespeedtech/ols-docker-env.git +``` Open a terminal, `cd` to the folder in which `docker-compose.yml` is saved, and run: ``` docker-compose up ``` +Note: If you wish to run a single web server container, please check [Usage method here](https://github.com/litespeedtech/ols-dockerfiles#usage). + ## Components The docker image installs the following packages on your system: @@ -131,6 +133,7 @@ We need to run amce installation command at **first time only**. ``` ./bin/acme.sh [--install|-i] [--no-email|-ne] ``` + ### Applying a Let's Encrypt Certificate Use the root domain in this command, and it will check for a certificate and automatically apply one with and without `www`: ```