I created a website with Harp.js (harpjs.com), but I have no clue how to deploy it on my DigitalOcean server. Can someone please help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
This comment has been deleted
host it with pm2, here is what I do with vagrant. structure like /var/www/hp.com/package.json /var/www/hp.com/node_modules /var/www/hp.com/hpserver.js # the server, which will be hold by pm2 /var/www/hp.com/html # site content, so here are the harp-content like html/harp.json , html/public/articles , html/public/index.jade
ref Ghost (a node blogging app) Nginx setting https://www.digitalocean.com/community/tutorials/how-to-host-ghost-with-nginx-on-digitalocean
then restart vps
See How To Use PM2 to Setup a Node.js Production Environment On An Ubuntu VPS. You can use the user you created while following Initial Server Setup with Ubuntu 14.04 as the “safeuser”.