WIP: more detailed description will be added later.
After cloning, you need to execute the following command in order to download all the dependencies:
git submodule update --init --recursive
The app will connect to your Wi-Fi network, so you should
provide network's credentials by creating credentials.json
file with the following content:
{
"ssid": "<network name>",
"passwd": "<password>"
}
Important
Most ESP32 board won't be able to connect to 5GHz network. So you should make sure you are connecting to the 2.4GHz network.
First of all, change working directory to scripts
:
cd scripts
Make sure you have npm
installed. Tested with npm 10.5.0
.
- Make the script executable
chmod +x www.sh
- Install dependencies
./www.sh init
- Build
./www.sh build
- And, finally, flash it to the board
./www.sh flash
Tip
You can perform all three actions at once:
./www.sh init build flash
- Make the script executable
chmod +x ws.sh
- In order to run (i.e., build and monitor), execute
./ws.sh run