Initial commit.
Signed-off-by: Andreas Widen <aw@luflow.net>
This commit is contained in:
commit
a4a5c7daa5
1389 changed files with 241399 additions and 0 deletions
43
README.md
Normal file
43
README.md
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# 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.
|
||||
Loading…
Reference in a new issue