aboutsummaryrefslogtreecommitdiff
path: root/content/default/messages/quickstart.md
blob: 0db74e204caf69000362d9102ac1b7e8f6605b0f (plain)
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
+++
date    = "2022-03-05T03:45:51+00:00"
lastmod = "2022-03-05T03:45:51+00:00"
tags    = [ "docs", "hugo", "quickstart" ]
author  = "default"
+++

Somehow you've ended up here, funny how that works. I'm responsible for
explaining how to get started.

GIT CLONE.

{{% version clone=true %}}

EXECUTE HUGO TWICE. HUGO VERSION >= {{% version hugo=true %}}

```shell
cd canory
hugo && hugo
```

SERVE HTML. PREVIEW USING ANY HTTP SERVER.

```shell
cd public
python -m http.server --bind 127.0.0.1 8124
busybox httpd -f -p 127.0.0.1:8125
php -S 127.0.0.1:8126
ruby -run -e httpd . -p 8127
```