You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
14
14
See more info at https://academicpages.github.io/
15
15
16
-
## Running Locally
16
+
## Running locally
17
17
18
18
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:
19
19
@@ -35,16 +35,17 @@ When you are initially working your website, it is very useful to be able to pre
35
35
36
36
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`
37
37
38
-
## Using docker
38
+
## Using Docker
39
39
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:
41
43
42
-
Build the container:
43
44
```bash
44
45
docker build -t jekyll-site .
45
46
```
46
47
47
-
Run the container:
48
+
Next, run the container:
48
49
```bash
49
50
docker run -p 4000:4000 --rm -v $(pwd):/usr/src/app jekyll-site
0 commit comments