Node.js in LAMP server?
-
- go to your LAMP app settings
- open a Terminal
- type
node -vand press enter
You should see the version of
nodethat is runningSo you should be able to write a
nodeapp and run it
Even maybe make use of thecronfacility to start/stop, or just run manually. -
@ntnsndr What @robi and @timconsidine suggest will work. What are you trying to deploy though? If it's a full blown app, I recommend creating a pacakge. If it's just a simple cron/tool you are trying to run, you can use their suggestion.
@girish said in Node.js in LAMP server?:
@ntnsndr What @robi and @timconsidine suggest will work. What are you trying to deploy though? If it's a full blown app, I recommend creating a pacakge. If it's just a simple cron/tool you are trying to run, you can use their suggestion.
Alright, so in theory one could install a full MERN stack within a LAMP instance, as a development environment, right? This dev stack is getting quite much attention lately. Have you ever counted the number of apps you use which are built in REACT? Apps built with REACT are by the tons nowadays...
Now, in such case, since we already have MongoDB running on the Cloudron instance, wouldn't it be convenient to have a way use that MongoDB server with a MERN stack, instead of running a new MongDB within the LAMP instance?
Now, if that could be implemented in some way on a Cloudron instance, then maybe that could be a LAMP-MERN version or simply a MERN stack, I dunno... What do you guys think?
-
@girish said in Node.js in LAMP server?:
@ntnsndr What @robi and @timconsidine suggest will work. What are you trying to deploy though? If it's a full blown app, I recommend creating a pacakge. If it's just a simple cron/tool you are trying to run, you can use their suggestion.
Alright, so in theory one could install a full MERN stack within a LAMP instance, as a development environment, right? This dev stack is getting quite much attention lately. Have you ever counted the number of apps you use which are built in REACT? Apps built with REACT are by the tons nowadays...
Now, in such case, since we already have MongoDB running on the Cloudron instance, wouldn't it be convenient to have a way use that MongoDB server with a MERN stack, instead of running a new MongDB within the LAMP instance?
Now, if that could be implemented in some way on a Cloudron instance, then maybe that could be a LAMP-MERN version or simply a MERN stack, I dunno... What do you guys think?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login