I advice checking out this tutorial 
<a href="http:&#x2F;&#x2F;www.whatimade.today&#x2F;esp8266-easiest-way-to-program-so-far&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.whatimade.today&#x2F;esp8266-easiest-way-to-program-so...</a>
I found it very helpful