vitotai / BrewManiacEsp8266

BrewManiac on ESP8266. Only ESP8266 needed.
156 stars 71 forks source link

How to make changes to the web interface #120

Open Symbol95 opened 1 year ago

Symbol95 commented 1 year ago

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?

vitotai commented 1 year ago

You will need some basic programming knowledge. https://github.com/vitotai/BrewPiLess/tree/master/htmljs

Symbol95 commented 1 year ago

Thanks I got it. So I thought that something was missing in the environment

Symbol95 commented 1 year ago

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?

vitotai commented 1 year ago

refresh the browser.

Symbol95 commented 1 year ago

Of course, I restarted the browser and cleared the cache

vitotai commented 1 year ago

How did you send it to the controller? What exactly did you send?

Symbol95 commented 1 year ago

In the platformio below I click on the arrow and send it to the controller. Need to do it differently?

vitotai commented 1 year ago

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

Symbol95 commented 1 year ago

Thanks for the answer. I will try