A blogging application to write about my hobby projects.
docker compose --profile full up -d
cargo install sqlx-cli --no-default-features --features rustls,postgres
docker compose up -d
See
Config.toml
for build options (these can be overridden with environment variables)
cargo run
Should be run when:
export DATABASE_URL=postgres://user:password@localhost/toast
cargo sqlx prepare
Useful for creating fixtures. Run in the database container:
pg_dump \
-d toast \
-U user \
--data-only \
--inserts
Copyright (C) 2025 Rick van der Wal
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.