A guide to home roasting: http://www.sweetmarias.com/instructions-revamp2_MRT.php
Actually, if you roast at home or have access to freshly roasted beans, you will probably won't be able to consume mainstream coffee as stated in the article.