Run an app on fly.io
First create a fly account on fly.io and install flyctl on your system fly.io/docs/hands-on/install-flyctl/ (on macOS, use brew install flyctl
)
Then run fly auth login
to login
Go in your project folder and add a Dockerfile if you don’t have already one.
Then run fly launch
(select a region that’s free) and fly deploy --ha=false
to create a single-instance free service.
→ I wrote 17 books to help you become a better developer:
- C Handbook
- Command Line Handbook
- CSS Handbook
- Express Handbook
- Git Cheat Sheet
- Go Handbook
- HTML Handbook
- JS Handbook
- Laravel Handbook
- Next.js Handbook
- Node.js Handbook
- PHP Handbook
- Python Handbook
- React Handbook
- SQL Handbook
- Svelte Handbook
- Swift Handbook
Also, JOIN MY CODING BOOTCAMP, an amazing cohort course that will be a huge step up in your coding career - covering React, Next.js - next edition February 2025