News for hackers. Stuff that matters.
Re:Free resources for learning full-stack web development by sillysaurus3 on Friday March 17, 2017 @01:01AM (#13891626)
One solution is to set up a droplet which serves a website from /home/deploy/web/site/ on the server. Then to deploy:

rsync -Pa ./site/ [email protected]:/home/deploy/web/site/

Note: The trailing slashes are important.

I use nodemon to watch /home/deploy/web/site/ for changes, which restarts the server. There are tools like nodemon for whatever stack you're using (rails, etc).

There are no comments on this comment yet.