Skip to content
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

deployment #2

Closed
nickpizzo opened this issue Oct 17, 2016 · 1 comment
Closed

deployment #2

nickpizzo opened this issue Oct 17, 2016 · 1 comment

Comments

@nickpizzo
Copy link

hello I have an app with a similar structure to this (layouts in a views folder, and the rest of the assets in a public folder). The dev server works well, but I'm not exactly sure of the proper technique to deploy this app to a live url. Are there any further resources on this you would recommend? thanks

@jkup
Copy link
Owner

jkup commented Nov 11, 2016

Hey @nickpizzo!

Sorry I didn't get to this earlier. Deploying node apps to production is a little difficult but there are some great guides out there like https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-14-04

Basically you need a server, (digialocean offers great ones!) and then you install nginx + node + something like https://www.npmjs.com/package/pm2 which will help manage your app in production.

Let me know if you run into any troubles!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants