Statique is a static site generator written in Ruby and uses Roda for the Rack middleware. By default, it comes with support for Slim and Markdown.
Installation
Install it as a Whalebrew package (recommended):
$ whalebrew install pusewicz/statique
Install it as a Docker image:
$ docker pull pusewicz/statique
Install it as a Ruby gem:
$ gem install statique
Usage
Generate your new Statique website
Whalebrew package, Ruby gem
$ statique init my-website
Docker
$ docker run -it --rm -v "$PWD":/workdir -w /workdir pusewicz/statique init my-website
Start the Statique server
First, change into your new Statique website directory:
$ cd my-website
Whalebrew package, Ruby gem
$ statique server
Docker
$ docker run -it --rm -p 3000:3000 -v "$PWD":/workdir -w /workdir pusewicz/statique server
Build your Statique website
The final step before deploying your website to your preferred host is to build it. By default, the built website will be available in the dist/
subdirectory.
First, change into your new Statique website directory:
$ cd my-website
Whalebrew package, Ruby gem
$ statique build
Docker
$ docker run -it --rm -v "$PWD":/workdir -w /workdir pusewicz/statique build