Skip to content

Commit 05842f5

Browse files
pourmand1376alackles
authored andcommitted
ADD More Clear Explanations in README (alshedivat#1012)
1 parent d95c0f3 commit 05842f5

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

README.md

+5-14
Original file line numberDiff line numberDiff line change
@@ -189,26 +189,17 @@ Note that when you run it for the first time, it will download a docker image of
189189

190190
Now, feel free to customize the theme however you like (don't forget to change the name!). After you are done, you can use the same command (`docker-compose up`) to render the webpage with all you changes. Also, make sure to commit your final changes.
191191

192-
<details><summary>(click to expand) <strong>Build your own docker image (more advanced):</strong></summary>
193-
194-
> Note: this approach is only necessary if you would like to build an older or very custom version of al-folio.
195-
196-
First, download the necessary modules and install them into a docker image called `al-folio:Dockerfile` (this command will build an image which is used to run your website afterwards. Note that you only need to do this step once. After you have the image, you no longer need to do this anymore):
192+
> To change port number, you can edit `docker-compose.yml` file.
197193
194+
<details><summary>(click to expand) <strong>Build your own docker image:</strong></summary>
198195

199-
```bash
200-
$ docker-compose -f docker-local.yml build
201-
```
202-
203-
Run the website!
196+
> Note: this approach is only necessary if you would like to build an older or very custom version of al-folio.
204197
198+
Build and run a new docker image using:
205199
```bash
206200
$ docker-compose -f docker-local.yml up
207201
```
208-
209-
> To change port number, you can edit `docker-compose.yml` file.
210-
211-
> If you want to update jekyll, install new ruby packages, etc., all you have to do is build the image again! It will download ruby and jekyll and install all ruby packages again from scratch.
202+
> If you want to update jekyll, install new ruby packages, etc., all you have to do is build the image again using `--force-recreate` argument at the end of previous command! It will download ruby and jekyll and install all ruby packages again from scratch.
212203
213204
</details>
214205

0 commit comments

Comments
 (0)