I created .env file at the root of my project with the MONGOHQ_URL in it but after launching foreman (foreman start), I'm still getting null as a value in Java using System.getenv("MONGOHQ_URL").
Anything im doing wrong? Documentation seemed straight forward.