Run a RedwoodJS App
Getting an application running on Fly.io is essentially working out how to package it as a deployable image. Once packaged it can be deployed to the Fly.io global application platform.
In this guide we'll learn how to deploy a RedwoodJS application on Fly.io.
Now let's generate a shiny, new Redwood app and set it up for Fly deployment.
yarn create redwood-app my-redwood-project cd my-redwood-project
Now check out the Redwood Quick Start guide to get your development environment setup and to generate some data models.
cd hello-redwood fly launch
Creating app in /Users/me/hello-redwood Scanning source code Detected a RedwoodJS app ? App Name (leave blank to use an auto-generated name): hello-redwood ? Select organization: flyio (flyio) ? Select region: mad (Madrid, Spain) Created app hello-redwood in organization soupedup ? Would you like to deploy now? Yes ==> Validating app configuration --> Validating app configuration done Services TCP 80/443 ⇢ 8080 Remote builder fly-builder-little-glitter-8329 ready ... 1 desired, 1 placed, 1 healthy, 0 unhealthy [health checks: 2 total, 2 passing] --> v0 deployed successfully