This is a Next.js template which can be deployed to Fly.io.
Fly can run your application from a Docker image without a Docker container on their infrastructure.
Everything you need to get started can be found at https://fly.io/nextjs.
# Install flyctl on macOS
brew install flyctl
# Run from Next.js project root
fly launch
# Scale CPU, memory, instances, and regions
fly scale
For more information, see our deployment documentation.
To learn more about Fly.io, take a look at the following resources:
- Deep Dive Demo - if you want something more than a "Hello World" app to play with.
- Run a Next.js App - start from
create-next-app
and create a deployable app. - JavaScript on Fly.io - deployment and debugging tips common to all JS applications.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!