https://pantsbuild.org/ logo
#general
Title
# general
c

curved-farmer-66180

02/13/2023, 3:56 PM
When I run
./pants run ::manage -- runserver
for django. Environment variable from .env or .envrc are not loaded. Is there any way to load env?
e

enough-analyst-54434

02/13/2023, 3:57 PM
We're trialing a new way to run Pants with install instructions here: https://www.pantsbuild.org/v2.15/docs/installation If you want to try that install out and then run
pants run ...
instead of
./pants run ...
you should find this works.
That
pants
binary loads
.env
if present: https://github.com/pantsbuild/scie-pants#features
c

curved-farmer-66180

02/13/2023, 4:02 PM
I will try! Thanks John!
5 Views