Skip to content

Commit 8ec75bb

Browse files
authored
update readme with instructions on running locally with docker (#161)
* update readme with instructions on running locally with docker * update instructions * add sentence on live changes by docker
1 parent 4a438b0 commit 8ec75bb

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@ To run the site locally for development:
3232
hugo server
3333
```
3434

35+
or run the following docker command:
36+
37+
```sh
38+
docker-compose up
39+
```
40+
41+
when you are done, either stop the process or run the following:
42+
43+
```sh
44+
docker-compose down
45+
```
46+
47+
Docker will mount your current working directory inside the container, so changes you save to any files will be picked up by Hugo.
48+
3549
### Creating a new post
3650

3751
To create a new post on the command line, run:

0 commit comments

Comments
 (0)