Web site source code

This static website is generated with a custom cli based tool written in Rust called flow-web. flow-web is specifically written to generate this static website and is available under the GNU AGPL.

Installing Rust

Install Rust from your package manager or by downloading from here: https://rust-lang.org/.

Getting the code

Install git from your package manager or by downloading from here: https://git-scm.com/install.

Clone the git repository:

git clone https://codeberg.org/hfsoulz/flow-web.git

Compiling the code

cd into the cloned dir:

cd flow-web

Build using release mode:

cargo build --release

Generate the site using release mode:

cargo run --release

The generated output can be found in 'output' folder.

Serve locally

Run the following command to serve locally using servez as an example:

servez output

Then, visit the following url in a web browser:

http://localhost:8080/

You can stop the server pressing CTRL+c.

servez can be installed through Node.js like so:

npm install -g servez

Related topics:

Static web site Rust

Unless otherwise stated, blog posts on this site are copyrighted by their respective authors and published under the terms of the CC-BY-SA 4.0 license.