https://github.com/cinderblock/party-lights
Web UI to control ESP-Lights
https://github.com/cinderblock/party-lights
Last synced: 2 months ago
JSON representation
Web UI to control ESP-Lights
- Host: GitHub
- URL: https://github.com/cinderblock/party-lights
- Owner: cinderblock
- Created: 2018-11-11T06:36:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T01:51:40.000Z (over 3 years ago)
- Last Synced: 2025-01-28T02:16:07.211Z (over 1 year ago)
- Language: JavaScript
- Size: 450 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Party-Lights
Web UI to control ESP-Lights
[**Node 8+**](https://nodejs.org/en/download) must be installed on your development system.
```bash
npm install
### Running
To run this full system, **two** separate programs need to be run.
One for the **web UI** and one to actually do something presistent, the **daemon**.
Most commands are intended to be run **on your development machine** and **not** directly on the remote system.
## Cheatsheet
All of these are run from the top level directory.
| Command | Description |
| ------------------------------ | ----------------------------------------------------------- |
| `yarn` | Setup your local machine for development |
| `yarn ui setup start` | Run the **webui** in development mode on your local machine |
| `yarn deploy setup daemon` | Run **daemon** on remote with most recent local code |
| `yarn ui add some-package` | Add `some-package` to the webui |
| `yarn ui upgrade` | Upgrade ui packages to latest version |
| `yarn remote add some-package` | Add `some-package` to the daemon using the remote's yarn |
| `yarn remote upgrade` | Upgrade daemon packages to latest version using the remote's yarn |
| `yarn remote kill` | Kill the daemon on remote |
| `yarn remote shutdown` | Shutdown the remote system |
| `yarn remote reboot` | Reboot the remote system |