All the things noted above are important, especially the effect of mass production on flavor and quality.
You may have to rent or buy a commercial kitchen for early sales as it's generally illegal to do that from your home. Plus bottles, labels and canning equipment. At some point if you're successful, you'll have to contract out the cooking and canning to a commercial source and arrange shipping and so on.
Lastly, if you succeed and sell the rights to the product, expect it to get changed to lesser ingredients and fillers for profiteering on your good name and reputation. See Stephens Cocoa and Bear Lake Soups for two examples of good products that went downhill after being sold from the originators. (I was never a fan of Bear Lake, but they were very popular).