aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 9d6be2755e14c3f915427e154878ec703432b454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# cleberg.net

## Overview

This website & blog uses Markdown and [Zola](https://www.getzola.org/).

## Configuration

If you want to replicate this project structure, you'll need to customize your
=.emacs= file appropriately, or load a custom =.el= file.

If you're within emacs while changing =.emacs=, you'll need to reload the
configuration with =M-x load-file= and hit enter to reload the current file
(=.emacs=).

See the [[./elisp/publish.el][publish.el]] file for this repository's 
configuration.

* Building

Local testing:

```sh
zola serve
```

Building:

```sh
zola build
```

If you want to build locally and push remotely, you can include `zola build`
in your CI\CD pipeline, or simply use `scp` after building.

```sh
scp -r public/* user@remote_host:/var/www/your_website/
```