Subversion Repositories ESP8266_P1_Meter

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 raymond 1
If you want customize **/setup** webpage (headers, logo etc etc):
2
* edit the source files as your needs (setup.htm, app.js, style.css)
3
* open a terminal in ***build_setup*** folder and run `npm i` to install all nodejs modules needed
4
* run `node minify.js`
5
* overwrite the content of `setup_htm.h` inside `/src` folder with the new generated file
6
 
7
 
8
#
9
As alternative on Windows system, is possible to use the tool [SEGGER Bin2C](https://www.segger.com/free-utilities/bin2c/).
10
 
11
`all.htm.gz` file need to be prepared manually (for example you could use online tools for minify CSS, JavaScript and HTML)
12
 
13
This Bin2C program will create a file named `all.htm.c`, simply copy & past the content and overwrite `setup_htm.h` file