blog/README.md

35 lines
712 B
Markdown
Raw Normal View History

2017-10-08 03:13:31 +00:00
# Blog
This is the source code that will soon power [kirsle.net](https://www.kirsle.net/).
# Setup
```bash
# If you're new to Go, set your GOPATH.
export GOPATH="${HOME}/go"
# Clone this repository to your go src folder.
git clone https://github.com/kirsle/blog ~/go/src/github.com/kirsle/blog
cd ~/go/src/github.com/kirsle/blog
# Run the server
make run
```
## Syntax Highlighting with Pygments
To enable syntax highlighting within Markdown files (like with GitHub Flavored
Markdown), install [pygments](http://pygments.org) on your system. For example:
```
# Fedora/RHEL
sudo dnf install python3-pygments python3-pygments-markdown-lexer
# Debian
sudo apt install python3-pygments
```
2017-10-08 03:13:31 +00:00
# License
MIT.