Add README
This commit is contained in:
parent
a0fc7f0343
commit
44f7cfcf70
1 changed files with 23 additions and 1 deletions
24
README.md
24
README.md
|
@ -1,3 +1,25 @@
|
||||||
# redstrate.com
|
# redstrate.com
|
||||||
|
|
||||||
This is an experimental rebuild of my [personal website](https://redstrate.com) using sr.ht services instead of my own CI. The content hosted here is going to be temporary until the transition is ready to be completed.
|
This is the source code of my personal website hosted [redstrate.com](https://redstrate.com/).
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
You need [Hugo](https://gohugo.io/installation/) (extended edition) to build the site, and optionally Python to run miscellaneous scripts.
|
||||||
|
|
||||||
|
To build the site, just run `hugo` and the built site will appear in `public`.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cd redstrate.com
|
||||||
|
$ hugo
|
||||||
|
```
|
||||||
|
|
||||||
|
For quick development, Hugo has a built-in HTTP server that auto-reloads on changes:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cd redstrate.com
|
||||||
|
$ hugo server
|
||||||
|
```
|
||||||
|
|
||||||
|
### Art
|
||||||
|
|
||||||
|
The art gallery is defined via JSON (in `art`, and other directories in site root) and uses Python to generate the front-matter Markdown files that Hugo consumes. To refresh the gallery, re-run `scripts/gen_art.py`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue