Deploying to Fly.io
iwr https://fly.io/install.ps1 -useb | iexon Windows PowerShell
curl -L https://fly.io/install.sh | shon Linux and macOS
- You can also use
brew install flyctlon macOS too
Signing up with Fly.io is easy: issue the
flyctl auth signup command. We recommend connecting your GitHub account, as you will need it later.
We can now deploy to Fly.io by executing
flyctl launch in our current working directory (make sure there are no
fly.toml files) and answering the following questions:
$ flyctl launch Creating app in /path/to/Chapter 10 Scanning source code Detected a Dockerfile app ? App Name (leave blank to use an auto-generated name): ? Select organization: Matteo Collina (personal) ? Select region: fra (Frankfurt, Germany) Created app shy-fog-346 in organization personal Wrote config file fly.toml ? Would you like to setup a Postgresql...