From b404344a7c4ab5cb6c7d7b445fab796be79b848f Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 3 Sep 2024 01:25:20 -0400 Subject: Allow login creation and authentication. This is a beefy change, as it adds a TON of smaller pieces needed to make this all function: * A database migration. * A ton of new crates for things like password validation, timekeeping, and HTML generation. * A first cut at a module structure for routes, templates, repositories. * A family of ID types, for identifying various kinds of domain thing. * AppError, which _doesn't_ implement Error but can be sent to clients. --- .envrc | 2 ++ 1 file changed, 2 insertions(+) (limited to '.envrc') diff --git a/.envrc b/.envrc index 63d6803..0423909 100644 --- a/.envrc +++ b/.envrc @@ -1,4 +1,6 @@ PATH_add tools PATH_add target/debug +export DATABASE_URL="${DATABASE_URL:-sqlite://.hi?mode=rwc}" + source_env_if_exists .envrc.local -- cgit v1.2.3