Deploying node.js applications #2 - provision server & setup flightplan

LearnCode.academy · 87K views · 2014 · 9:52

Open on YouTube

Cloud, DevOps & reliabilityWeb developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when asking or answering how to get a Node.js app onto a cloud server, including Flightplan setup problems and pointing a domain at a Node server.

Recommended by 1 people across 1 different months, 2016 to 2017.

What it is

A LearnCode.academy tutorial, part two of a series on deploying Node.js apps, showing how to provision a server on Digital Ocean and set up Flightplan to automate deployment with a single command. It frames this as a basic introduction to DevOps-style automated deployment and links a code gist.

What people said

Recommends ribbit · 2017-05 · Stack Overflow · on “How do I point my node.js server to a domain name? (I also use socket.io)”

After wondering about the same thing for weeks, I think I got my answer. See if this can help you. Short answer This video [LINK] was my answer. If you're not on a Windows, you can also check this one [LINK] or this one [this video] , or again this right here [LINK] Long answer Just to summarize the issue here for a more general audience : You have figured out how to run node.js on your computer. You are using the command line to start the node server on your computer, by typing 'node server.js' (if "server.js" is what you named the file containing the server code). You probably chose a port number in your server file (a number like 3000 or 9000), so that you can access your work through your bro

Cites Squirrl · 2016-02 · Stack Overflow · on “Error with node app, using Digital Ocean and FlightPlan.js - All configured authentication methods failed”

I'm using flightplan.js [LINK] and digital ocean and following this video [this video] , but then I get this error: rendezvousNode $ fly production ✈ Running default:production ✈ Executing local task localhost Copy files to remote hosts localhost $ git ls-files localhost ● ok localhost $ rsync --files-from /var/folders/vf/38fsn66x58z04p9jkhkwbspm0000gn/T/ad78ad3f4a7594e09f3542d82fb76731 -az --rsh="ssh -p22" ./ deploy@162.243.118.234:/tmp/rendeznode-1455004290008 localhost ● ok ✈ Local task finished after 17 s ✈ Connecting to '162.243.118.234' ● Error connecting to '162.243.118.234': All configured authentication methods failed rendezvousNode $ ls

Cites xtabbas · 2016-09 · Stack Overflow · on “Node.js web deploying with a home base server like Apache”

I am using Express framework to built my app and Forever to deploy it but it doesn't seem to work because im not using a cloud based computer as suggested on the internet like in this video : [this video] . What I want to do is put my files on htdocs folder of Apache server that resides on my computer and host the website personally by using a tool like Forever and be done with it, but i think im missing something. I read about mod_proxy to reverse proxy the URL but i dont like the idea because its just redirecting my IP to https:/localhost/3000/ which cant be the best way to do it. Anyone can tell me what am I doing wrong or how its done correctly? Thanks Edit1: what my question really comes dow