Update Server Setup Deno
parent
7366125499
commit
4b2956883e
1 changed files with 36 additions and 17 deletions
|
|
@ -1,44 +1,63 @@
|
||||||
Web Client Development
|
## Web Client Development
|
||||||
Overview
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
The Meshtastic web interface can be hosted or served from a node.
|
The Meshtastic web interface can be hosted or served from a node.
|
||||||
|
|
||||||
The official hosted version can be found at https://client.meshtastic.org.
|
The official hosted version can be found at https://client.meshtastic.org.
|
||||||
|
|
||||||
The version served from a node can be accessed by first connecting your node to your network and then navigating to http://meshtastic.local (or your_node_ip.local).
|
The version served from a node can be accessed by first connecting your node to your network and then navigating to http://meshtastic.local (or your_node_ip.local).
|
||||||
|
|
||||||
Development & Building
|
## Development & Building
|
||||||
Development
|
|
||||||
|
### Deno
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -fsSL https://deno.land/install.sh | sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Development
|
||||||
|
|
||||||
Clone the Meshtastic Web Repo repository
|
Clone the Meshtastic Web Repo repository
|
||||||
|
|
||||||
git clone https://github.com/meshtastic/web.git
|
```
|
||||||
cd web
|
git clone https://github.com/meshtastic/web.git && ycd web
|
||||||
|
```
|
||||||
|
|
||||||
Install the dependencies.
|
Install the dependencies.
|
||||||
|
|
||||||
|
```
|
||||||
deno i
|
deno i
|
||||||
|
```
|
||||||
|
|
||||||
Start the development server:
|
Start the development server:
|
||||||
|
|
||||||
|
```
|
||||||
deno task dev
|
deno task dev
|
||||||
|
```
|
||||||
|
|
||||||
|
### Building and Packaging
|
||||||
|
|
||||||
Building and Packaging
|
|
||||||
Build the project:
|
Build the project:
|
||||||
|
|
||||||
|
```
|
||||||
deno task build
|
deno task build
|
||||||
|
```
|
||||||
|
|
||||||
GZip the output:
|
GZip the output:
|
||||||
|
|
||||||
|
```
|
||||||
deno task package
|
deno task package
|
||||||
|
```
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
Contributing
|
|
||||||
We welcome contributions! Here’s how the deployment flow works for pull requests:
|
We welcome contributions! Here’s how the deployment flow works for pull requests:
|
||||||
|
|
||||||
Preview Deployments:
|
- Preview Deployments:
|
||||||
Every pull request automatically generates a preview deployment on Vercel. This allows you and reviewers to easily preview changes before merging.
|
Every pull request automatically generates a preview deployment on Vercel. This allows you and reviewers to easily preview changes before merging.
|
||||||
|
- Staging Environment (client-test):
|
||||||
Staging Environment (client-test):
|
Once your PR is merged, your changes will be available on our staging site: client-test.meshtastic.org.
|
||||||
Once your PR is merged, your changes will be available on our staging site: client-test.meshtastic.org.
|
This environment supports rapid feature iteration and testing without impacting the production site.
|
||||||
This environment supports rapid feature iteration and testing without impacting the production site.
|
- Production Releases:
|
||||||
|
At regular intervals, stable and fully tested releases are promoted to our production site: client.meshtastic.org.
|
||||||
Production Releases:
|
|
||||||
At regular intervals, stable and fully tested releases are promoted to our production site: client.meshtastic.org.
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue