summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 4962260d712d229c86ee405c2eb6500054398457 (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
# Local
## Prerequisites :
- Hugo: `brew install hugo`

## Development :
- Run `hugo serve`

## Build :
- Run `hugo`

## Deploy :
- Run `hugo`
- Copy the generated `public` directory to any hosting environment. (`srht.site`)

# Docker
## Prerequisites:
- Docker: `brew install docker`

## Build
- Run `docker build . -t website`
- Run `docker run -p 1313:1313 -it website`
or
- Run `docker-compose build`
- Run `docker-compose up`