Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

noizwaves.github.io

Professional blog powered by F#, Suave.IO, and .NET Core. Inspired by Jekyll.

CircleCI

Quick start

  1. dotnet restore
  2. fake build
  3. dotnet run -p NoizwavesBlog
  4. View the blog
  5. View a post

Dependencies

  1. Install dependencies via asdf install
  2. Install FAKE 5 via
    1. dotnet tool install fake-cli -g
    2. adding $HOME/.dotnet/tools to PATH (as described here)
  3. Install libsass via
    • on Debian via sudo apt install libsass-dev
    • on Arch via sudo pacman -Syu libsass
    • on macOS (probably) via brew install libsass

Tests

  1. dotnet test

Deploying

  1. fake build target Publish
  2. cf push

Features

Drafts

Draft posts can be displayed by setting the DRAFTS environment variable to a non-empty value.

To see drafts locally, run:

  1. DRAFTS=true dotnet run -p NoizwavesBlog

Static Site generation

In addition to running as a web server, a complete version of the blog can be generated.

  1. dotnet run -p NoizwavesBlog -- static
  2. python3 -m http.server --directory output
  3. open http://localhost:8000

TODO

  • build the concept of all posts and all pages into the domain
  • move HTML generation into HTML and handle into WebServer
  • pull concept of drafts and visibility into the domain
  • use a real YAML deserializer instead of the hand-rolled simple one

About

Professional blog

Topics

Resources

Releases

No releases published

Packages

No packages published