Get Writus Online
When you have done configuration, you can start your Writus.
All configurations of Writus are done in a TOML file. For convenience, it will be referred to as Writus.toml
in the following text, which is its name by default. Starting up, Writus will search Writus.toml
in the current directory. To specify the config file to use, simply pass the path to it as a command line argument. The file specified can be named other than Writus.toml
.
If you prefer to install Writus by cargo install
:
# `Writus.toml` present in current directory
writus
# Manually specify config file location
writus P:/blog/writus-config.toml
If you prefer to cloned the repo and cargo run
Writus, use --
to pass arguments directly to the Writus executable. For example:
# Enter repo root directory
cd Writus
# Use modified template `Writus.toml`
cargo run
# Manually specify config file location
cargo run -- P:/blog/writus-config.toml
If Writus.toml
, automatically found or manually specified, is absent or cannot be deserialized as TOML, Writus will refuse to start up.
Press Ctrl-C
to stop the session.
For Windows users: There is a problem that Writus might be unable to terminate properly, if you started Writus with cargo run
. See this issue.