my question is simple. I want to set the play framework ‘id’ in my heroku deployed copy, different than the one I have locally.
To do so, I followed this reference page by running ‘heroku run play id’ from my local computer. However, that didn’t work, as if I executed again the same command, it would tell me that the id was still empty.
So, I researched in StackOverflow a bit, and got to this page in which I understand, according to an answer, that I can do so by modifying the PLAY_OPTS variable, but I dont really get it… So if someone could explain it to me clearly, I would really appreciate it!
Thanks a lot in advance,
Pepillo
You can see the
PLAY_OPTSenvironment variable with:Which should include:
You can change that with something like:
But you will have to make sure that you also tell the Play app not to try and listen on the jpda port or it will fail to start on Heroku.