As a bit of background, I'm new to node.js, and vue.js. In the past I've written everything in PHP.I've recently finished a new app, with a node.js backend, and a vue.js frontend. To run each application I need to issue the following commands:The node.js app npm run devThe vue.js app npm run serveWhich is great, but how do I move this to production? I could background each of those commands, but :/Currently I have a ubuntu+apache server that hosts all my apps (PHP apps). I was wanting to host this application on the same server. Should I be trying to achieve this? I cant afford VPS instances for every app I make, so I'd prefer to put them all on the one server.I assume I'll need to use apache as a reverse proxy for my node app? If I do, Apache will handle the TLS stuff.I'd like to publicly put this app on GitHub at some point, so how can I make it easy for a user to git clone and move to prod?
Submitted April 15, 2019 at 01:18AM by WranglesTurtles
No comments:
Post a Comment