Deploying with Turboku issues

Hi all,

I recently migrated a monorepository over to Fly.io with Turboku.

However, I can’t figure out how to redeploy my app’s changes with Turboku since I do not have a Fly.toml in my repo.

Does anyone know to to trigger a redeploy with Fly.io if you have migrated from Heroku with Turboku?

I have tried created my own Fly.toml file in my monorepo. It wouldn’t let me create one with the same name as my existing app on my Fly.io dashboard. I was able to create a Fly.toml file with a different name and tried changing the file config name to match my app that is on my Fly.io dashboard in hope that I could then trigger a redeploy with Fly CLI but it errors out at “Verifying app config”. This means I can’t use the “flyctl launch” command in my monorepo.

I would have liked to migrate manually with the Fly CLI but it was unclear how to migrate a monorepositiory but I think I might have shot myself in the foot here.

Any ideas?

If you have migrated from Heroku to Fly.io using Turboku, are you able to still deploy with Heroku? Or have you managed to find out how to deploy with Fly.io, or are you using a different deployment process all together?

Many thanks

We don’t have great docs on this, I don’t think, but Turboku is designed to just mirror your Heroku app.

If you want to deploy directly to Fly, you’ll need to get the app ready to deploy to Fly directly. The best way to do this is to run fly launch (with no fly.toml) and create a staging app.

If you’re getting errors that don’t make any sense from fly launch, just post them here and someone might have an idea.

1 Like

Hi Kurt,

Thanks so much - I’ll give that a try!

@pippop there’s a full guide at Migrate from Heroku · Fly Docs for how to launch your app, migrate your DB, and run your app 100% on Fly.

There’s a cheat sheet at Migrate from Heroku · Fly Docs that goes into the differences between how Heroku works v Fly.