flow-web: A program that will allow you to generate static website
This static website is generated with a program written in Rust
called flow-web.
flow-web is specifically written to generate this static website.
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. The git repository
can also be browsed online.
Clone the git repository:
git clone https://luflow.net/git/flow-web.git
Compiling the code
cd into the cloned dir:
cd flow-web
Build using release mode:
cargo build --release
Generating the site
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:
You can stop the server pressing CTRL+c.
servez can be installed through Node.js like so:
npm install -g servez
License
flow-web is licensed under the GNU AGPL license.
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.