chrismccord / single_file_phoenix_fly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy single file Phoenix projects on fly.io

First, install the fly cli:

On MacOS:

brew install flyctl

On Linux:

curl -L https://fly.io/install.sh | sh

On Windows:

iwr https://fly.io/install.ps1 -useb | iex

Next, create a new app with fly on the command line:

fly create my-new-app

Finally, update the first line of the fly.toml to use your new app name: app = "my-new-app"

Now you can fly deploy and access your application at my-new-app.fly.dev.

About


Languages

Language:Elixir 54.8%Language:Dockerfile 45.2%