Update Readme
This commit is contained in:
1 parent
8837e15d8d
commit
18e6ea9118
1 file changed
+28
@@ -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