mironfoerster Posted September 7, 2023 Share Posted September 7, 2023 Hi I'm currently trying to deploy an existing django project and cant find a way in heliohost to define environment variables which my django settings depend on. What should i do? Link to comment Share on other sites More sharing options...
wolstech Posted September 7, 2023 Share Posted September 7, 2023 I’ll let krydos answer this as I don’t know enough about Django to answer. That said you’re the first ask for this that I’m aware of, so it’s quite possible a solution needs to be developed or that it’s not supported… Link to comment Share on other sites More sharing options...
Krydos Posted September 7, 2023 Share Posted September 7, 2023 The module django-environ has been installed on Johnny's Python 3.10. You can see the currently installed modules and their versions at https://krydos2.heliohost.org/pyinfo/info3.10.py Link to comment Share on other sites More sharing options...
mironfoerster Posted September 7, 2023 Author Share Posted September 7, 2023 I dont need an abstraction layer over pythons os.environ. I need a way to specify the values of the environment variables, not to read them. Providers like render or northflank e.g. have the option to enter env var key-value pairs inside their build configurations. How can i achieve this on heliohost? Link to comment Share on other sites More sharing options...
Krydos Posted September 8, 2023 Share Posted September 8, 2023 Why can't you read from a .env file? Link to comment Share on other sites More sharing options...
Krydos Posted September 14, 2023 Share Posted September 14, 2023 Closing due to inactivity. Link to comment Share on other sites More sharing options...
Recommended Posts