Update Readme
This commit is contained in:
@@ -8,6 +8,8 @@ Official [Meshtastic](https://meshtastic.org) web interface, that can be run ind
|
|||||||
|
|
||||||
## Development & Building
|
## Development & Building
|
||||||
|
|
||||||
|
### Building and Packaging
|
||||||
|
|
||||||
Build the project:
|
Build the project:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -19,3 +21,29 @@ GZip the output:
|
|||||||
```bash
|
```bash
|
||||||
pnpm package
|
pnpm package
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Development
|
||||||
|
|
||||||
|
Create a `.env` file:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cp ./.env.example ./.env
|
||||||
|
```
|
||||||
|
|
||||||
|
And define the device IP address in the `.env` file.
|
||||||
|
|
||||||
|
```
|
||||||
|
SNOWPACK_PUBLIC_DEVICE_IP=xxx.xxx.xxx.xxx
|
||||||
|
```
|
||||||
|
|
||||||
|
Install the dependencies.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm i
|
||||||
|
```
|
||||||
|
|
||||||
|
Start the developtment server:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm start
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user