Now, I’d like to be able to continue to code and deploy. But I don’t know how to get my code from fly.
I’ve tried the other way around by starting from my rails app folder and launch a new Fly app. The problem there is that it doesn’t deploy at all. It’s weird because my local code and remote code on Heroku are the same.
I’m assuming you used git to deploy to Heroku, and you’re using that that also version your code.
Fly is different in that it doesn’t use git to deploy applications. Fly assumes that you’re using a different service, like Github, to manage and version your code so that the concerns of deploying application code is separate from versioning code. There’s good reasons for this, like you won’t have “deploying” … “deploying again” … “darn it it will work this time!” in your git history.
What you’ll want to do is start versioning your code using a service like Github. When you want to deploy you’ll enter fly deploy and when you want to commit your code you’ll run git commit followed by git push to push the changes to Github.
I understand that and I already use Github for other apps.
My problem is that with the automated migration process, the app works but if I want to deploy a new version later I don’t know how to do.
And with the “manual” process (command line), the app doesn’t deploy at all for a reason I don’t get.
Since the automated migration works,
I’m trying to find how to keep being able to deploy to the migrated app
OR
what does the automated process do that I don’t do when I launch and deploy.
I’m new used fly, I signed up using email and I want to connect my github account to Fly. but on the Fly dashboard I can’t find a feature to connect it. do you know and can you help me?
When the Turboku migration is ok. which is really great, we should have a conf generator to allow us to do the manual launch by ourself and so finish the migration.
I tried the “web auto-migrating tool” and it worked.
BUT I didn’t have my code locally and when I got it from Heroku and tried to have a simple change deployed to Fly.io, I then wondered “How do I get the deploy infos Fly used with the automated process so that I deploy to the SAME app?” I couldn’t find that and trying to deploy resulted the same as 1.
In the end, I had to fully review my code until the command-line deploy worked… Now, I’m good.
Note: I’ve never used heroku, so I haven’t tried it myself, but looking at the code, what you are describing is what flyctl turboku · Fly Docs tries to do.
We are indeed a small team, and this is the holiday season. We offer free and paid support options: Support · Fly Docs. If you are relying on the community forum, I encourage you to be patient.
My primary focus at the moment is helping Rails users with Dockerfiles. If you are willing to try Python with Dockerfiles, I may be able to help.
I’m running into this same issue. The migration path via Heroku · Launch on Fly.io works beautifully! Although I’m stuck after that, how do I get that app to update and push new code? Please help!