Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make changes to the web interface #120

Open
Symbol95 opened this issue Mar 28, 2023 · 9 comments
Open

How to make changes to the web interface #120

Symbol95 opened this issue Mar 28, 2023 · 9 comments

Comments

@Symbol95
Copy link

Symbol95 commented Mar 28, 2023

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
Copy link
Owner

vitotai commented Apr 24, 2023

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

@Symbol95
Copy link
Author

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

@Symbol95
Copy link
Author

Symbol95 commented May 3, 2023

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
Copy link
Owner

vitotai commented May 3, 2023

refresh the browser.

@Symbol95
Copy link
Author

Symbol95 commented May 3, 2023

Of course, I restarted the browser and cleared the cache

@vitotai
Copy link
Owner

vitotai commented May 4, 2023

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

@Symbol95
Copy link
Author

Symbol95 commented May 4, 2023

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

@vitotai
Copy link
Owner

vitotai commented May 4, 2023

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
Copy link
Author

Symbol95 commented May 4, 2023

Thanks for the answer.
I will try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants