Very close to launch

drodol • 16 Nov 2023 •
So today I decided I would deploy the alpha version of dFe.
I hadn’t deployed a Django app in a long time, so I thought I’d just do it for fun. Even with the knowledge that I still need to style things better.
I planned to deploy to a PaaS like Railway.app or Fly.io. So I found myself a deployment checklist and following one of my favourite Django people, Vicent, I deployed successfully to a fly.io sub-domain.
I worked without any hiccups.
Of course, the app is empty with no objects in the DB.
I created myself a superuser so I could use the Django admin interface to create some data to display.
It worked well. But when I tried adding data, I encountered an error. One that simply didn’t happen in my development machine.
I then resorted to trying to install Sentry, which is an error logging utility that is commonly used in Django for apps in production.
That’s when I hit a roadblock. I still can’t get Sentry to work, and therefore cannot troubleshoot the error I am getting when trying to add data to the DB using the Django admin interface.
I will give it a few more tries, but if I am not successful, I will go to bed and rest. I can try again tomorrow.
Comments
@jasonleow exactly.

Have you used Heroku in past? Is fly better?

I used Heroku extensively in the past. Mostly to deploy small experiments or toy apps. I have been using fly for too little to compare. But fly is free for hobby projects, so that’s why I chose them. I am still not sure how I will deploy the final version of DfE.

Hmm good point about free for hobby projects. Maybe hobby ones on fly, then heroku for serious ones.

Not sure if I will go for Heroku for when I am ready to deploy. I’ve heard they’ve gone a bit dark on their pricing.

I’m using Heroku for Lifelog. It’s not too bad. $16/m for a dyno and postgres add-on.
They have an Eco plan where you can share 1000 dyno hours for all projects for $5 per month - been thinking about this for hobby projects

That doesn’t sound too bad actually!

Congrats on just launching! ✨
Is fly.io like a heroku alternative?