BrewManiacEsp8266
BrewManiacEsp8266 copied to clipboard
How to make changes to the web interface
Hello! I need to make changes to the web interface. I want to change names, for this I make changes in html /src/locales/english.json, save the file, compile the project, load the bin file into the controller ESP8266. I open the web interface and see no changes, refresh the page, clear browser cache, I clear the browser cache but nothing changes. What am I doing wrong? Perhaps you need to make changes to some other file?
You will need some basic programming knowledge. https://github.com/vitotai/BrewPiLess/tree/master/htmljs
Thanks I got it. So I thought that something was missing in the environment
Installed mpn and gem, run grunt build in html directory. A dist folder appeared in the project, then I compile and send it to the controller, I go to the site and see no changes. What else needs to be done?
refresh the browser.
Of course, I restarted the browser and cleared the cache
How did you send it to the controller? What exactly did you send?
In the platformio below I click on the arrow and send it to the controller. Need to do it differently?
Well. You have to convert the bm.htm.gz file into a C header file, and put it in "locales/" in the right name. There is no automation for this. Or, you can upload the result bm.htm.gz by file manager, which is http://[address of the controller]:8008/filemanager
Thanks for the answer. I will try