Deploying your Remix app to Fly.io lets you share your work with the world easily. Fly.io hosts your app close to users for fast loading.
Deploying to Fly.io in Remix
flyctl launch flyctl deploy
flyctl launch sets up your app on Fly.io with a guided setup.
flyctl deploy uploads and runs your app on Fly.io servers.
flyctl launch
# Follow prompts to create app and select regionflyctl deploy
# Deploys your Remix app to Fly.io serversThis step-by-step shows how to get your Remix app running on Fly.io. First, install the Fly CLI tool. Then log in to your Fly.io account. Next, launch your app setup inside your Remix project folder. Finally, deploy your app to make it live.
1. Install Fly CLI: npm install -g flyctl 2. Login: flyctl auth login 3. In your Remix project folder, run: flyctl launch 4. Choose app name and region when prompted 5. Deploy your app: flyctl deploy
Make sure your Remix app has a Dockerfile or uses the recommended Fly.io build setup.
Fly.io automatically assigns a URL like https://your-app-name.fly.dev for your app.
You can redeploy anytime with flyctl deploy after code changes.
Fly.io lets you easily host Remix apps close to users worldwide.
Use flyctl launch to set up your app and flyctl deploy to publish it.
Deploying to Fly.io is simple and fast, perfect for sharing your app online.