diff --git a/Makefile b/Makefile index 96f1ee2..64b535d 100644 --- a/Makefile +++ b/Makefile @@ -14,3 +14,7 @@ reset: stop @echo "Removing volumes..." docker volume rm -f $(APP_DB_VOLUME) $(DW_DB_VOLUME) @echo "Volumes removed. You can now start fresh with 'make start'" + +run-rust: + cargo build --manifest-path rust/Cargo.toml + cargo run --manifest-path rust/Cargo.toml \ No newline at end of file diff --git a/flake.nix b/flake.nix index 8051303..f2affb2 100644 --- a/flake.nix +++ b/flake.nix @@ -21,8 +21,6 @@ ]; shellHook = '' - export DATABASE_URL="postgres://${POSTGRES_APP_USER}:${POSTGRES_APP_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_APP_PORT}/${POSTGRES_APP_DB}" - export DW_DATABASE_URL="postgres://${POSTGRES_DW_USER}:${POSTGRES_DW_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_DW_PORT}/${POSTGRES_DW_DB}" echo "✅ Rust + PostgreSQL dev env ready" ''; };