codi-hacks / recipebox

A static site generator for recipes, written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recipebox

Write and host your own recipe website without the need for a database.

This app is an iteration on the original ruby recipebox app.

In progress!!

See the BLUEPRINTS issue to track development progress.

Development

It is recommended to use rustup or similar toolchain manager as it will pick up rust-toolchain.toml and auto-switch your toolchain to nightly which is needed for certain file io operations.

Start the server:

cargo run

The server can be accessed from http://localhost:4000

Production

Build server binary:

cargo build

Example systemd service file

For production, you may want to control the process via a service manager like systemd. Example:

[Unit]
Description=recipebox production server
After=network.target

[Service]
Type=forking
User=www-data
WorkingDirectory=/path/to/recipe/files
ExecStart=/path/to/bin/recipebox

[Install]
WantedBy=multi-user.target

About

A static site generator for recipes, written in Rust

License:GNU General Public License v3.0


Languages

Language:Rust 69.1%Language:Handlebars 30.9%