mirror of
https://github.com/luc-github/ESP3D-WEBUI.git
synced 2026-02-20 01:11:21 +01:00
71 lines
2.3 KiB
Markdown
71 lines
2.3 KiB
Markdown
# ESP3D-WEBUI 3.0
|
|
|
|
using Preact per @aganov suggestion
|
|
Rewrite per @alxblog suggestion to use proper Preactjs API and lighter code: use spectre.css instead of bootstrap 4.x
|
|
|
|
## In development / alpha stage / Ready to test
|
|
|
|
Only compatible with [ESP3DLib 3.0](https://github.com/luc-github/ESP3DLib/tree/3.0) , [ESP3D 3.0](https://github.com/luc-github/ESP3D/tree/3.0), [grblHAL](https://github.com/grblHAL)
|
|
|
|
[Latest development version ](https://github.com/luc-github/ESP3D-WEBUI/tree/3.0)  [](https://travis-ci.org/github/luc-github/ESP3D-WEBUI) [](https://github.com/users/luc-github/projects/1/views/1)
|
|
|
|
### Setup development tools
|
|
|
|
1 - Install current nodejs LTS (currently using v16.14.2)
|
|
|
|
```
|
|
node -v
|
|
v16.14.2
|
|
|
|
npm -v
|
|
8.5.0
|
|
```
|
|
|
|
2 - Download all necessary packages in ESP3D-WEBUI directory (repository root)
|
|
|
|
```
|
|
npm install
|
|
```
|
|
|
|
### Start dev server
|
|
|
|
in ESP3D-WEBUI directory (repository root)
|
|
|
|
```
|
|
npm run dev-<system>-<firmware>
|
|
```
|
|
|
|
- where `<system>` is `cnc` (CNC system, laser, spindle..) , `printer` (3D printer), `sand` (Sand Table)
|
|
- where `<firmware>` is :
|
|
- `grbl`, `grblhal` for `cnc`
|
|
- `marlin`, `marlin-embedded` (esp3dlib), `repetier`, `smoothieware` for `printer`
|
|
- `grbl` for `sand`
|
|
|
|
will open http://localhost:8088 which display the webUI using a local test server
|
|
|
|
### Build index.html.gz to /dist folder
|
|
|
|
in ESP3D-WEBUI directory (repository root)
|
|
|
|
```
|
|
npm run buildall
|
|
```
|
|
|
|
Will generate production version for each target and firmware in dist directory
|
|
|
|
to build specific index.html.gz
|
|
|
|
```
|
|
npm run <system>-<firmware>
|
|
```
|
|
|
|
- where `<system>` is `cnc` (CNC system, laser, spindle..) , `printer` (3D printer), `sand` (Sand Table)
|
|
- where `<firmware>` is :
|
|
- `grbl`, `grblhal` for `cnc`
|
|
- `marlin`, `marlin-embedded` (esp3dlib), `repetier`, `smoothieware` for `printer`
|
|
- `grbl` for `sand`
|
|
|
|
# Chat
|
|
|
|
ESP3D is now on discord https://discord.gg/Z4ujTwE
|