Skip to content

prabirshrestha/rblog

Repository files navigation

rblog

Blog engine written in rust.

Installing

cargo install rblog

Running from source code

git clone https://github.com/prabirshrestha/rblog.git
cargo run

Running from source with listenfd

cargo install systemfd
systemfd --no-pid -s http::8080 -- cargo watch -x 'run'

Running in docker

Running tagged docker image

docker run -v ./posts:/data/posts -v ./blog.conf:/data/blog.conf -p 8080:8080 prabirshrestha/rblog:v0.264.0

Running latest docker image

docker run -v ./posts:/data/posts -v ./blog.conf:/data/blog.conf -p 8080:8080 prabirshrestha/rblog:latest

Running nightly docker image

docker run -v ./posts:/data/posts -v ./blog.conf:/data/blog.conf -p 8080:8080 prabirshrestha/rblog:nightly

For demos ignore the volume mappings.

docker run -p 8080:8080 prabirshrestha/rblog:nightly

License

MIT