Skip to content

Commit

Permalink
ADD More Clear Explanations in README (alshedivat#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
pourmand1376 authored and davidxwu committed Oct 30, 2023
1 parent feabcde commit d5ab380
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,26 +189,17 @@ Note that when you run it for the first time, it will download a docker image of

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.

<details><summary>(click to expand) <strong>Build your own docker image (more advanced):</strong></summary>

> Note: this approach is only necessary if you would like to build an older or very custom version of al-folio.
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):
> To change port number, you can edit `docker-compose.yml` file.
<details><summary>(click to expand) <strong>Build your own docker image:</strong></summary>

```bash
$ docker-compose -f docker-local.yml build
```

Run the website!
> Note: this approach is only necessary if you would like to build an older or very custom version of al-folio.
Build and run a new docker image using:
```bash
$ docker-compose -f docker-local.yml up
```

> To change port number, you can edit `docker-compose.yml` file.
> 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.
> 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.
</details>

Expand Down

0 comments on commit d5ab380

Please sign in to comment.