Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fluffysquirrels/blog

My personal blog
https://github.com/fluffysquirrels/blog

blog

Last synced: 8 days ago
JSON representation

My personal blog

Awesome Lists containing this project

README

        

# Alex Helfet's personal blog

[Site](https://fluffysquirrels.github.io/blog/)
[Source](https://github.com/fluffysquirrels/blog)

## Getting started

* Install rust, usually with [`rustup`](https://rustup.rs/).

* Install [`cobalt`][cobalt], a static site generator written in Rust.

```sh
cargo install cobalt-bin
```

* Install [`watchexec`](https://github.com/watchexec/watchexec) (used by `./bin/preview`)

```sh
cargo install watchexec
```

## How to preview

To serve the site at :

```sh
./bin/preview
```

This re-generates the site when it is modified, and restarts the
`cobalt` server when the `./_cobalt.yml` config file is modified (not
done by cobalt by default).

## How to publish

Build the site, outputting to `./docs`:

```sh
./bin/build
```

Use `git` to stage all changes, commit them, and push them to GitHub.

GitHub Pages will automatically deploy the new content.

## Links

Built with:

* [cobalt][cobalt]
* [water.css](https://github.com/kognise/water.css)

[cobalt]: https://cobalt-org.github.io/