A little cooking recipes website
Find a file
2025-04-12 15:58:19 +02:00
.cargo Replace Rusqlite by Sqlx and Actix by Axum (A lot of changes) 2024-11-03 10:13:31 +01:00
backend Directories for database file, backups and logs are defined in configuration file now 2025-04-12 15:58:19 +02:00
common Update dependencies 2025-04-08 18:09:46 +02:00
doc WIP... 2023-04-10 09:35:10 +02:00
frontend CSS: use a $margin constant. Some CSS improvements (WIP). 2025-04-09 15:08:43 +02:00
stress_tests Replace Rinja by askama 2025-03-26 13:19:16 +01:00
.gitattributes Replace PUT method by the more appropriate PATCH method. 2025-03-18 20:02:30 +01:00
.gitignore Add a toggle between dark and light theme 2025-03-31 15:31:06 +02:00
Cargo.lock Update dependencies 2025-04-08 18:09:46 +02:00
Cargo.toml Update dependencies 2025-03-31 21:24:35 +02:00
do.nu Replace scripts nu files by one 2025-04-11 14:51:25 +02:00
README.md Update readme 2025-04-12 15:07:03 +02:00

Recipes is a multi-user website to manage and publish cooking recipes.

Prerequisite

Launch in debug mode

$> nu do.nu run

Then browse http://127.0.0.1:8082

At first launch the configuration file backend/conf.ron is created. It contains the port the server will listen to and information about the SMTP server which will be used to send email when a user sign up or change its password.

Autoreload

First install cargo watch:

$> cargo install cargo-watch

In directory /backend type:

$> cargo watch -x run

How-to

How to install service on a Linux server (with systemd)

As root:

  1. Copy /doc/recipes.service to /lib/systemd/system/
  2. Change the values of User, WorkingDirectory and ExecStart.
  3. Enabled it: #> systemctl enable recipes
  4. Launch it: #> systemctl start recipes

Cross compile for Raspberry PI on Windows

Useful URLs

Useful tools