Skip to content

Commit 260556d

Browse files
authored
Update readme for setup for the build (#38)
1 parent bbcf246 commit 260556d

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,21 @@ Please see the [instructions](instructions.md) for how to assemble and set up a
3636
### Building and Flashing Firmware
3737

3838
1. **Configure Secrets**: Copy `secrets.ini.example` to `secrets.ini` and set your WiFi credentials, OTA password, and MQTT details.
39-
2. **Build the Web interface and Firmware**:
39+
2. **Onetime setup for building the web interface**:
40+
```bash
41+
cd svelte
42+
npm install vite --save-dev
43+
npm install -D svelteesp32
44+
```
45+
3. **Build the Web interface and Firmware**:
4046
```bash
4147
pio run
4248
```
43-
3. **Upload Filesystem** (contains the web interface):
49+
4. **Upload Filesystem** (style file for legacy web interface):
4450
```bash
4551
pio run -t uploadfs
4652
```
47-
4. **Upload Firmware**:
53+
5. **Upload Firmware**:
4854
```bash
4955
pio run -t upload
5056
```

0 commit comments

Comments
 (0)