Re: How to retrieve the values of environment variables in cpanel?

2022-02-18 Thread Walter Randazzo
To All, I was able to successfully setup environment variables in cpanel using the package python-dotenv. Here is the instructions that I followed up: https://help.pythonanywhere.com/pages/environment-variables-for-web-apps/ Thanks Imad to help, Regards, El sáb, 19 feb 2022 a las 0:58, Wa

Re: How to retrieve the values of environment variables in cpanel?

2022-02-18 Thread Walter Randazzo
Hi Imad, I've just follow up the steps u suggested with no luck. I think i miss up something. How you set the SECRET_KEY variable in settings.py file? Thanks in advances, El mar, 8 feb 2022 a las 11:16, Walter Randazzo () escribió: > Hi Imad, > > Thanks very much for your help. > > Ill try

Re: How to retrieve the values of environment variables in cpanel?

2022-02-08 Thread Walter Randazzo
Hi Imad, Thanks very much for your help. Ill try that in the next few days also Ill let u know how it goes. Thanks bro! El mar, 8 feb 2022 a las 11:10, imad latch () escribió: > I think you will have limited abilities without terminal but you can try > it anyway . > check this > https://doc

Re: How to retrieve the values of environment variables in cpanel?

2022-02-08 Thread imad latch
I think you will have limited abilities without terminal but you can try it anyway . check this https://docs.cpanel.net/cpanel/software/application-manager/82/#add-environment-variables and for *passenger_wsgi.py* in your /home/user/django-project/ import sys, os INTERP = "/home/user/django-pr

How to retrieve the values of environment variables in cpanel?

2022-02-07 Thread Walter Randazzo
Hi there, good night. Does anybody know how to set up environment variables in a cpanel shared hosting? I've found the way to declare the variable name and the value through the "Setup Python App" section, but I didn't find the way to retrieve the value in the settings file. Please note that cp