How long after The Mindy Project 's initial commission by NBC did it take for the pilot to be viewable online ?
It was to be loosely based on Silverman 's life as a woman who had just ended a decade - long live - in relationship .