I just built a little node app that I want to make publicly available. I got a little dedicated server where I am going to host my app. The problem now is getting my app into the server. In the past I had done this task using FTP, but now I know better. There are tools out there that allow us to deploy our app to our server(or list of servers) with a single command, and flightplan makes this task very easy for node apps.
We need flightplan in our development machine so we can run deploys from there. We can install it from npn:
1 npm install -g flightplan
This globally installs the command line tool that allows us to run the fly command. We also need to install flightplan as a dev dependency of our node project:
1 npm install --save-dev flightplan