Deploying the application
Before we begin, we will want to make sure our project is initialized as a git repository, if your machine does not have git installed you may find instruction on how to install the binary here https://git-scm.com/book/en/v2/Getting-Started-Installing-Git. If you’ve been following along, and haven’t yet initialized your project as a git repository, you can do so by running the following command in your project’s root directory:
git init
For the deployment process, we will use a cloud hosting service called Fly.io (https://fly.io/). Fly.io offers a useful command line tool to help us register and authenticate into an account in addition to making application deployments easier. Detailed instructions on getting started with Fly.io’s CLI can be found at https://fly.io/docs/hands-on/install-flyctl/.
For MacOS users, with Homebrew, we can install the binary with this command:
brew install flyctl
Linux users can install...