I tried to export some variable.
I create file .bash_profile
and put inside export SPRING_PROFILES_ACTIVE=local
After it I reboot my ubuntu, login, but nothing happens.
My system is fresh ubuntu 18.04.
What I do wrong?
Answer
Probably not what you're looking for, but I don't believe .bash_profile
exists. Try adding that export command to .profile
instead.
Aka, echo "export SPRING_PROFILES_ACTIVE=local" >> .profile
(Tested on Debian Stretch; I don't use Ubuntu, but the fact you said "I create .bash_profile
" is odd)
Comments
Post a Comment