New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
basic NodeJS support #3277
base: main
Are you sure you want to change the base?
basic NodeJS support #3277
Conversation
added npm and pm2 packages
added npm and pm2 packages
node js templates
node js templates
security patch
security patch
added nvm installation
added nvm installation
Need some minor changes so Nginx only servers can enjoy this feature aswell. Also need to test it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also need the templates in nginx/php-fpm folder
For nginx only setups
nodejs stpl template
nodejs tpl template
something like this : https://github.com/Steveorevo/hestiacp-nodeapp |
this might be helpful : https://github.com/Steveorevo/hestiacp-nodeapp |
My project is reaching maturity. While no CLI access is needed, the user account does need to be set to allow bash login. Without having to actually access the user account, most everything can be done via the control panel; prototype does the following:
Unfortunately this does require a few core patches to work (see https://github.com/steveorevo/hestiacp-pluginable). I created |
ok thanks for the correction i replaced
|
its work running nodejs & php ? |
ya |
@jaapmarcus can you please review it , that why build is failing thanks |
Keep it constant.. with other templates naming
a6246bc
to
9fa2c41
Compare
Never commit changes with out a merge / rebase from an upstream branch. We have made some major changes to building javascript in the last few weeks causing things to break in this PR... |
npm pm2 added
pm2 npm added
It installs 10.19.0 instead of 18.x or even 20.x
Instead of NPM 10.0 for Ubuntu 20.04 we get 18.x last LTS Install PM2 via NPM instead of repo
Fix bashrc not updated Fix bug in config test
Hi All, will there be any further progress on this? |
Would HestiaCP please consider merging my "pluginable" project? This is the base for how I incorporate NodeJS and extensive functionality to HestiaCP. |
Implementation in this PR sucks a lot it will not work in specific method and so on.. @Steveorevo I fin e with it how ever current ipv6 support and changes to the admin user have a higher priority for me. And it will cause many merge conflicts... |
I could submit a PR that adds web/pluginable.php but there are a half dozen lines that also need to be changed in main.php as well as two other files for hooks. That might be a point of contention as it intercepts ALL bin calls with a PHP script. To date; HestiaCP is very (and nicely so) bash shell script centric. Not sure how everyone will feel about a PHP injection or its event driven programming model for plugins. |
Please kindly consider this feature. This will make this panel more complete as I do not have to manually configure NodeJS or look for other services to host react.js, next.js, etc for PHP-powered APIs |
basic node js support taken from : https://github.com/cristiancosano/hestiacp-nodejs
thanks