setup grunt task and make index know about the environment it's in