Simple Ruby On Rails 8 application that I can git clone and run on Fly.io

Hi, in the middle of January I thought it would be cool, to finally try Ruby On Rails 8.
And also to illustrate how easy it is to deploy.
I thought I fly.io is the obvious choice, since it has a free tier.

However, I feel a bit wrong. It’s almost been impossible to get a basic app deployed.
Of course, famously, it runs on my machine haha.

Here’s the repo; just a simple list of where people have walked recently - thought I’d add some gamification in the next versions:

It feels like we should be able to go:
rails new montesmalaga
rails scaffold mountain name:string
rails scaffold summit yourname:string
and
rake db:migrate
update the routes to root as summits#index
and
then deploy to fly
fly create
and away we go.

But after similar variants of this, I keep getting stuck.
I miss the easy days of rails 4 or so, and heroku if I’m honest.
I want to be able to type rails new, and deploy it all within an hour.
Then iterate.

Am I dreaming that this is a possibility?

Cheers,
Ian.

The command is fly launch, and it should indeed just work for Rails 8 applications. Without knowing what problems you are having it is difficult to help you further.

See also: Deploy a Rails app close to your users · Fly

I’ve tried a variety of approaches, but sadly it doesn’t just work like heroku used to.

I’ll destroy everything, and put each command in. You have to be careful to also destroy the database when trying to remove everything, to start again.

This time, I’ll try no bootstrap etc. Just vanilla rails.