Skip to content

Commit ef518d5

Browse files
authored
Update README.md
1 parent 9639cbc commit ef518d5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Diff for: README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
See more info at https://academicpages.github.io/
1515

16-
## Running Locally
16+
## Running locally
1717

1818
When you are initially working your website, it is very useful to be able to preview the changes locally before pushing them to GitHub. To work locally you will need to:
1919

@@ -35,16 +35,17 @@ When you are initially working your website, it is very useful to be able to pre
3535

3636
If you are running on Linux it may be necessary to install some additional dependencies prior to being able to run locally: `sudo apt install build-essential gcc make`
3737

38-
## Using docker
38+
## Using Docker
3939

40-
Working from a different OS, or just want to avoid installing dependencies? You can use the provided Dockerfile to build a container that will run the site for you.
40+
Working from a different OS, or just want to avoid installing dependencies? You can use the provided `Dockerfile` to build a container that will run the site for you if you have [Docker](https://www.docker.com/) installed.
41+
42+
Start by build the container:
4143

42-
Build the container:
4344
```bash
4445
docker build -t jekyll-site .
4546
```
4647

47-
Run the container:
48+
Next, run the container:
4849
```bash
4950
docker run -p 4000:4000 --rm -v $(pwd):/usr/src/app jekyll-site
5051
```

0 commit comments

Comments
 (0)