I have tried to set my environment variables multiple ways on my Ubuntu server but nothing seems to work. I need to know how to properly set them on the digital ocean droplet I am using to host my website.
I have tried the following:
export ENVIRONMENT_VARIABLE=TheValuein the Ubuntu terminal as the user for my application (not as root)
set ENVIRONMENT_VARIABLE=TheValuebut that doesn't work either.
After echoing the variable for the last 2, it gave me back the correct value. I did it by typing this in the terminal:
Thanks for any help!