The more advanced way will follow in the next few weeks ...
== IDE ==
Since 2015 exists an integration of the ESP-toolchain for the arduino ide called the [https://github.com/esp8266/Arduino "ESP8266 Arduino Core"] on github. The installation is well documented.
# You basically have to install the ESP8266 board with the Board Manager.
# And install the tool ESP8266FS. The installation instructions can be found in the 'ESP8266 Arduino Core' Documentation in the chapter 'Filesystem' sub chapter 'Updating files to the filesystem'.