Skip to content

Commit 3c909e3

Browse files
committed
Update for 2.X
1 parent 722f234 commit 3c909e3

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

README.md

+8-13
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,26 @@
22
A plugin for Hestia Control Panel (via [hestiacp-pluginable](https://github.com/virtuosoft-dev/hestiacp-pluginable) and [hcpp-nodeapp](https://github.com/virtuosoft-dev/hcpp-nodeapp)) that enables hosting a Node-RED instance. With this plugin installed, a new Quick Installer option will appear. *[Note: User account must have SSH/bash set per NodeApp's instructions for this plugin to work](https://github.com/virtuosoft-dev/hcpp-nodeapp#using-nodeapp-to-host-a-nodejs-website)*. should have User accounts can host their own Node-RED instance either in the root domain or as a subfolder installation. For instance, it is possible to run WordPress in the root domain while having Node-RED installed on the same domain in a subfolder (i.e. https://example.com/nodered); a perfect setup for creating solutions using [WPN](https://virtuosoft.com/wpn).
33

44
## Installation
5-
HCPP-NodeRED requires a Debian based installation of [Hestia Control Panel](https://hestiacp.com) in addition to an installation of [HestiaCP-Pluginable](https://github.com/virtuosoft-dev/hestiacp-pluginable) *and* [HCPP-NodeApp](https://github.com/virtuosoft-dev/hcpp-nodeapp) to function; please ensure that you have first installed both Pluginable and NodeApp on your Hestia Control Panel before proceeding. Switch to a root user and simply clone this project to the /usr/local/hestia/plugins folder. It should appear as a subfolder with the name `nodered`, i.e. `/usr/local/hestia/plugins/nodered`.
6-
7-
First, switch to root user:
8-
```
9-
sudo -s
10-
```
11-
12-
Then simply clone the repo to your plugins folder, with the name `nodered`:
5+
HCPP-NodeRED requires an Ubuntu or Debian based installation of [Hestia Control Panel](https://hestiacp.com) in addition to an installation of [HestiaCP-Pluginable](https://github.com/virtuosoft-dev/hestiacp-pluginable) *and* [HCPP-NodeApp](https://github.com/virtuosoft-dev/hcpp-nodeapp) to function; please ensure that you have first installed pluginable on your Hestia Control Panel before proceeding. Clone the latest release version (i.e. replace **v2.0.0** below with the latest release version) to the nodered folder:
136

147
```
158
cd /usr/local/hestia/plugins
16-
git clone https://github.com/virtuosoft-dev/hcpp-nodered nodered
9+
sudo git clone --branch v2.0.0 https://github.com/virtuosoft-dev/hcpp-nodered nodered
1710
```
1811

1912
Note: It is important that the destination plugin folder name is `nodered`.
2013

21-
Be sure to logout and login again to your Hestia Control Panel as the admin user or, as admin, visit Server (gear icon) -> Configure -> Plugins -> Save; the plugin will immediately start installing Node-RED depedencies in the background. A notification will appear under the admin user account indicating *"Node-RED plugin has finished installing"* when complete. This may take awhile before the options appear in Hestia. You can force manual installation via root level SSH:
14+
Be sure to logout and login again to your Hestia Control Panel as the admin user or, as admin, visit Server (gear icon) -> Configure -> Plugins -> Save; the plugin will immediately start installing depedencies in the background.
15+
16+
A notification will appear under the admin user account indicating *"Node-RED plugin has finished installing"* when complete. This may take awhile before the options appear in Hestia. You can force manual installation via:
2217

2318
```
24-
sudo -s
2519
cd /usr/local/hestia/plugins/nodered
26-
./install
27-
touch "/usr/local/hestia/data/hcpp/installed/nodered"
20+
sudo ./install
21+
sudo touch "/usr/local/hestia/data/hcpp/installed/nodered"
2822
```
2923

24+
3025
## Support the creator
3126
You can help this author's open source development endeavors by donating any amount to Stephen J. Carnam @ Virtuosoft. Your donation, no matter how large or small helps pay for essential time and resources to create MIT and GPL licensed projects that you and the world can benefit from. Click the link below to donate today :)
3227
<div>

0 commit comments

Comments
 (0)