43 lines
809 B
Markdown
43 lines
809 B
Markdown
# flow-web
|
|
|
|
`flow-web` is a program written in Rust that will allow you to generate
|
|
[https://www.luflow.net](https://www.luflow.net) static website.
|
|
|
|
## Installation
|
|
|
|
Install `Rust` from your package manager or by downloading from here:
|
|
[https://rust-lang.org/](https://rust-lang.org/).
|
|
|
|
## Generate the website
|
|
|
|
Build using release mode:
|
|
|
|
```sh
|
|
cargo build --release
|
|
```
|
|
|
|
Run to generate site:
|
|
|
|
```sh
|
|
cargo run --release
|
|
```
|
|
|
|
The generated output can be found in the '**output**' folder.
|
|
|
|
## Serve locally
|
|
|
|
Run the following command to serve locally using **servez** as an example:
|
|
|
|
```sh
|
|
servez output
|
|
```
|
|
|
|
Then, visit the following url in a web browser:
|
|
|
|
[http://localhost:8080/](http://localhost:8080)
|
|
|
|
You can stop the server pressing CTRL+c.
|
|
|
|
## LICENSE
|
|
|
|
See the file 'LICENSE' for license information.
|