how to build, dev, prod environment documentation