To install the Wemos boards, you'll need to:
1. Open up Arduino IDE
2. Preferences
3. Additional Boards Manager URLs
4. Click the Windows next to the input element.
5. Copy and paste the line below onto a new line:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
6. Click Ok.
7. Go to Tools->Boards->Boards Manager.
8. Type in "esp8266".
9. Install the esp8266 package.
10. You should see a new board named "WeMos D1 & R2".
11. SET THE CPU FREQUENCY TO 160MHz!
Note on OSX:
For OSX you will need to install a driver and disable csr.
Download the drivers from the link below:
http://blog.sengotta.net/wp-content/uploads/2015/11/CH34x_Install_V1.3.zip
Reboot into recovery mode (hold Command+Shift+R).
Open a terminal.
Type in "csrutil disable" and hit enter.
Reboot normally.
To update the web side of things:
Change your directory to web_side.
Edit index.html.
Run: ./minify.py
Upload code via Arduino IDE.