Add instructions for new Docker workflow options
This commit is contained in:
parent
f645dd5cc0
commit
43021ebdda
19
README.md
19
README.md
|
@ -12,10 +12,29 @@ $ git submodule update --init --recursive
|
||||||
1. Install `make`.
|
1. Install `make`.
|
||||||
2. Install `docker`
|
2. Install `docker`
|
||||||
3. Build (export) site to `_site` directory:
|
3. Build (export) site to `_site` directory:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ make build
|
$ make build
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Serve site at `0.0.0.0:4000`:
|
4. Serve site at `0.0.0.0:4000`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ make serve
|
$ make serve
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Generate Static Files
|
||||||
|
|
||||||
|
1. Output static files in `_site` directory:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ make _site
|
||||||
|
```
|
||||||
|
|
||||||
|
### Cleanup
|
||||||
|
|
||||||
|
1. Remove all build artifacts:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ make fullclean
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue