Update Server Setup Deno
parent
7366125499
commit
4b2956883e
1 changed files with 36 additions and 17 deletions
|
|
@ -1,44 +1,63 @@
|
|||
Web Client Development
|
||||
Overview
|
||||
## Web Client Development
|
||||
|
||||
## Overview
|
||||
|
||||
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 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
|
||||
## Development & Building
|
||||
|
||||
### Deno
|
||||
|
||||
```
|
||||
curl -fsSL https://deno.land/install.sh | sh
|
||||
```
|
||||
|
||||
### Development
|
||||
|
||||
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.
|
||||
|
||||
```
|
||||
deno i
|
||||
```
|
||||
|
||||
Start the development server:
|
||||
|
||||
```
|
||||
deno task dev
|
||||
```
|
||||
|
||||
### Building and Packaging
|
||||
|
||||
Building and Packaging
|
||||
Build the project:
|
||||
|
||||
```
|
||||
deno task build
|
||||
```
|
||||
|
||||
GZip the output:
|
||||
|
||||
```
|
||||
deno task package
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributing
|
||||
We welcome contributions! Here’s how the deployment flow works for pull requests:
|
||||
|
||||
Preview Deployments:
|
||||
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):
|
||||
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.
|
||||
|
||||
Production Releases:
|
||||
At regular intervals, stable and fully tested releases are promoted to our production site: client.meshtastic.org.
|
||||
- Preview Deployments:
|
||||
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):
|
||||
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.
|
||||
- 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