From 32847efa04029d81f9d8cf7a37999cb3cbb1e145 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 26 Sep 2025 17:43:43 +0200 Subject: chore: Initial Commit --- .envrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .envrc (limited to '.envrc') diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..e103cca --- /dev/null +++ b/.envrc @@ -0,0 +1,25 @@ +#!/usr/bin/env sh + +# rocie - An enterprise grocery management system +# +# Copyright (C) 2024 Benedikt Peetz +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + +use flake + +root="$(git rev-parse --show-toplevel)" + +PATH_add ./scripts +PATH_add ./target/debug +PATH_add ./target/release +PATH_add ./target/profiling + +export ROCIE_DB_PATH="$root/target/db.sql" + +export DATABASE_URL="sqlite://$root/target/database.sqlx" -- cgit 1.4.1