nph-ssg

Crates.ionph-ssg
lib.rsnph-ssg
version0.1.0
sourcesrc
created_at2021-10-01 20:38:00.632771
updated_at2021-10-01 20:38:00.632771
descriptionA tiny static site generator.
homepage
repository
max_upload_size
id459239
size21,537
nph (nph278)

documentation

README

rust-ssg

A simple static site generator written in rust.

Installation

Building from source

Do build from source, you need rust installed. You can install it here.

First, clone the repo.

git clone https://github.com/nph278/rust-ssg.git

Then, run cargo build --release to build out the project. You can install the build on your computer with install target/release/rust-ssg usr/local/bin/rust-ssg.

Usage

Run rust-ssg init in an empty folder to create a website.

You can now build the default site with rust-ssg build.

To start developing, run rust-ssg dev and go to localhost:3000 in you browser.

Commit count: 0

cargo fmt