here in WA its not hard to do this,
1. the outbuilding must get a "home occupation" permit from city or county and must comply with all ADA stuff, and meet all regular codes for plumbing, health, electric, fire etc...
2. apply to the Liquor Control Board. 90+day process
3. apply to the TTB. 120+ day process
if you can make all these people happy you get your brewers notice and then you can start brewing, lots of hoop to jump thru, but its more paperwork than it is hard. some of the things they are asking for, i dont have a clue about..
as far as i know, here in WA you cant sell your homebrew at all, even a charity, for free at any open public event, cuz if some one get sick... you are F'ed
sharing it at home, brew club meeting/events, and competitions - your good.
ColeR-