From 7b158c6ae673fd1a690c52fd64bc707262f90604 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 18 Oct 2023 17:00:39 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20chore(.env.example):=20add=20LAN?= =?UTF-8?q?GFLOW=5FSTORE=5FURL=20variable=20to=20the=20example=20file=20fo?= =?UTF-8?q?r=20configuring=20the=20store=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🐛 fix(Makefile): add --env-file .env option to the 'backend' target to load environment variables from .env file --- .env.example | 4 ++++ Makefile | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index ccab7c28e..91a8e9eb6 100644 --- a/.env.example +++ b/.env.example @@ -71,3 +71,7 @@ LANGFLOW_SUPERUSER= # Superuser password # Example: LANGFLOW_SUPERUSER_PASSWORD=123456 LANGFLOW_SUPERUSER_PASSWORD= + +# STORE_URL +# Example: LANGFLOW_STORE_URL=https://langflow.store +LANGFLOW_STORE_URL= \ No newline at end of file diff --git a/Makefile b/Makefile index 51c9d4897..798dcfa00 100644 --- a/Makefile +++ b/Makefile @@ -74,10 +74,10 @@ backend: make install_backend ifeq ($(login),1) @echo "Running backend without autologin"; - poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser + poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser --env-file .env else @echo "Running backend with autologin"; - LANGFLOW_AUTO_LOGIN=True poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser + LANGFLOW_AUTO_LOGIN=True poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser --env-file .env endif build_and_run: